I don't undestand.
template<class T> T foo2(T t, typename std::enable_if<std::is_integral<T>::value >::type* = nullptr) { return t; }
type* = 0? What is this.
Aucun commentaire:
Enregistrer un commentaire