6 ms·
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 ma
by sapling-ginger 2y 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.
- nicebyte 2y agoNo it does not. You can absolutely add copy and move ctors without function overloading.