HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by nly | Hacker News Reader
Parent
Full thread
nly
·
There's no point. Just make your class movable.
View on HN
cdmh
·
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.
Reply on news.ycombinator.com