top | item 40452408

(no title)

sapling-ginger | 1 year ago

You say "just add copy and move contructors", but that requires function overloading, which is exactly why he spent a third of the article ranting about name mangling. The point is that there is a tangled network of interdependent features that make C++ work, and you can't ""just"" take a small piece to put into C without dragging a whole bunch of other stuff along.

discuss

order

nicebyte|1 year ago

No it does not. You can absolutely add copy and move ctors without function overloading.