3 ms·
There's no point. Just make your class movable.
by nly 13y ago
There's no point. Just make your class movable.
- cdmh 13y agoThe class is movable already. Reference counting will allow a copy constructor or copy assignment to avoid copying the string object, just increase the reference count.