In Herb Sutter's talk at CppCon16 he suggested writing pimpl idiom with const std::unique_ptr (roughly 10 minutes in).
const std::unique_ptr
How is this suppose to work with move constructors/assignments? Is there smth in c++17? I couldn't find anything.
Aucun commentaire:
Enregistrer un commentaire