Skip to content
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

Use safe specialization for C++ functors #63

Open
uselessgoddess opened this issue Jul 18, 2021 · 2 comments
Open

Use safe specialization for C++ functors #63

uselessgoddess opened this issue Jul 18, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@uselessgoddess
Copy link
Member

uselessgoddess commented Jul 18, 2021

template<...>
std::hash<Type<...>>
{
}

instead of

namespace std 
{
    template<...>
    hash<Type<...>>
    {
    }
}
@uselessgoddess uselessgoddess added the enhancement New feature or request label Jul 18, 2021
@uselessgoddess uselessgoddess self-assigned this Jul 18, 2021
@Konard
Copy link
Member

Konard commented Jul 22, 2021

Did you test that it works?

@uselessgoddess
Copy link
Member Author

See my PR in Platform.Data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants