Move constructors for Reference?

Noel Grandin noelgrandin at gmail.com
Sun Nov 1 01:47:48 PDT 2015


Hi

Do we need move constructors for our Reference classes? Or will the
compiler currently generate them automatically?

Also , do we need to write specializations of std::move for moving our
References and collections of References around?

Asking because I converted some data structures to be things like:
std::vector<Reference<x>>
And now I wondering if that might not be all that efficient.

Regards, Noel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20151101/f0109bd6/attachment.html>


More information about the LibreOffice mailing list