Conversation
Notices
-
Verius (verius@community.highlandarrow.com)'s status on Saturday, 24-Nov-2018 09:11:19 EST Verius
Smart pointers are a perfect example of C++: they use extremely easy to misuse features (operator overloading of *, () and ->) along with very subtle and complex features (templates) to build an imperfect solution in a library that when used correctly and consistently removes most of the downsides of pointers while not adding any runtime overhead and maintaining compatibility.