For example: This is NOT universal reference:
template<typename T> class C { public: void gogo(T&& c); };
But this is:
template<typename A> class C { public: template<typename B> void gogo(B&& par); }
Aucun commentaire:
Enregistrer un commentaire