mercredi 17 mai 2017

Purpose of class = void in C++?

What does mean class = void in the following code snippets?

template< class, class = void >
struct has_type_member : false_type { };
template< class T >
struct has_type_member<T, void_t<typename T::type>> : true_type { };

Aucun commentaire:

Enregistrer un commentaire