vendredi 2 décembre 2016

Is there any valid reason for which a method should take a R-value reference as input?

As expressed in the title, I was wondering if there is a valid reason/example for which a given class method, excluding move constructor and move assignment operator, or free-function should take, as input parameter, a R-value reference.

Aucun commentaire:

Enregistrer un commentaire