The forwarding reference is supposed to forward the argument to another function, right? So why isn't it const?
template <typename T> void func(const T&&);
Aucun commentaire:
Enregistrer un commentaire