At the 2016 Oulu ISO C++ Standards meeting, a proposal called Guaranteed Copy Elision was voted into C++17 by the standards committee.
How exactly does it work? Does it cover some cases where copy elision was already permitted, or are code changes needed to guarantee copy elision?
Aucun commentaire:
Enregistrer un commentaire