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

Edit function template parameters toMap and toUnorderedMap #6

Closed
MarcDirven opened this issue Jul 21, 2020 · 0 comments
Closed

Edit function template parameters toMap and toUnorderedMap #6

MarcDirven opened this issue Jul 21, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@MarcDirven
Copy link
Owner

template<class KeySelectorFunc,

Create a wrapper function for toMap and toUnorderedMap so that when one has to specify for e.g. the Hasher template parameter, one does not also has to specify the Key template parameter as well, since that can be deduced automatically by using decltype(std::declval<Func>()).

@MarcDirven MarcDirven added the enhancement New feature or request label Jul 21, 2020
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

1 participant