3 ms·
Slicing requires you to treat a reference type as a value type, nobody who knows C++ does this, so slicing is pretty much restricted to people coming in from Ja
by TinkersW 5y ago
Slicing requires you to treat a reference type as a value type, nobody who knows C++ does this, so slicing is pretty much restricted to people coming in from Java land or similar.
I've not encountered a single instance of slicing in 10+ years of C++.