dimanche 25 janvier 2015

Is there any real use case for function's reference qualifiers?

Recently I learned about function's reference qualifiers, e.g.



struct foo
{
void bar() {}
void bar1() & {}
void bar2() && {}
};


Where I might need this feature, is there any real use case for this language feature ?


Aucun commentaire:

Enregistrer un commentaire