This question already has an answer here:
Let's say we have function:
template <typename Kind, typename... Kinds> void foo(){...};
What is the simplest way to check if the type 'Kind' is one of the types 'Kinds' in C++ (including C++1z)?
Aucun commentaire:
Enregistrer un commentaire