Skip to content

Conversation

@aelovikov-intel
Copy link
Contributor

  • Fix potential nullptr dereference when casting default-constructed object to std::string_view.
  • Make that conversion operator implicit (because why shouldn't it be?)
  • Not that it's implicit, there is no need in comparison operators with std::string_view, because that conversion will be considered implicitly.

I also have no idea why there was __INTEL_PREVIEW_BREAKING_CHANGES guard before.

* Fix potential `nullptr` dereference when casting default-constructed
  object to `std::string_view`.
* Make that conversion operator implicit (because why shouldn't it be?)
* Not that it's implicit, there is no need in comparison operators with
  `std::string_view`, because that conversion will be considered
  implicitly.

I also have no idea why there was `__INTEL_PREVIEW_BREAKING_CHANGES`
guard before.
@aelovikov-intel
Copy link
Contributor Author

Also tagging @Alexandr-Konovalov as can't add him to the reviewers.

@aelovikov-intel
Copy link
Contributor Author

reduction* failures have been flaky recently and are unrelated.

@aelovikov-intel aelovikov-intel merged commit 22daf99 into intel:sycl Aug 25, 2025
25 of 27 checks passed
@aelovikov-intel aelovikov-intel deleted the string-view branch August 25, 2025 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants