In this example:
template<Types...> struct MyStruct {};
How do I disallow (ie static_assert) duplicate types in the template parameter pack?
static_assert
Note: I'm using C++14 but also interested in C++17.
Aucun commentaire:
Enregistrer un commentaire