Last active
December 18, 2016 22:18
-
-
Save picanumber/10616062ba3b98502f1d48d4f52a6ad5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template<typename T> concept bool Data = requires(T t) { t.data; }; | |
template<Data... Ts> | |
requires existential_quantifier<std::is_move_constructible, Ts...> | |
auto f(Ts... ts) | |
{ | |
std::cout << "version for data\n"; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment