Skip to content

Conversation

cperkinsintel
Copy link
Contributor

how have we made it this far?

@cperkinsintel
Copy link
Contributor Author

gentle ping @sergey-semenov

Copy link
Contributor

@sergey-semenov sergey-semenov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how this didn't fall apart earlier.

@sergey-semenov sergey-semenov changed the title [SYCL] fix for sycl::detail::string and tests [SYCL] Fix for sycl::detail::string and tests Sep 17, 2025
Copy link
Contributor

@sergey-semenov sergey-semenov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor nitpicks.

TEST_F(SYCLDetailStringTest, Swap) {
sycl::detail::string s1("first");
sycl::detail::string s2("second");
swap(s1, s2);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to your PR, but I don't get why we define swap instead of a std::swap overload.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(dunno) emoji

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