Skip to content

Basic: add explicit template parameters for disambiguation #35574

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 24, 2021

Conversation

compnerd
Copy link
Member

When building with MSVC, this would fail to compile due to the buffer
type (uint8_t [8]) being treated as unsigned char *, which is
expecting to be SFINAE'd to fail find an overload for the hash
combination.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

When building with MSVC, this would fail to compile due to the `buffer`
type (`uint8_t [8]`) being treated as `unsigned char *`, which is
expecting to be SFINAE'd to fail find an overload for the hash
combination.
@compnerd
Copy link
Member Author

CC: @CodaFi

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd compnerd merged commit af7f1e6 into swiftlang:main Jan 24, 2021
@compnerd compnerd deleted the disambiguate branch January 24, 2021 19:11
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.

1 participant