Re:A C++ Immutable String class
by cdmh on Saturday September 21, 2013 @02:05PM
(#6423828)
The 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.
[ Parent
| on HN ]
There are no comments on this comment yet.