> 'smart pointers'
I tends to avoid smart pointers. There are too many variants, supported in different c++ version. Can't reasonably track which one is supported in which compiler
I tends to avoid smart pointers. There are too many variants, supported in different c++ version. Can't reasonably track which one is supported in which compiler
They are a messy bandaid.
The notion of using them in lieu of 'nothing' is rational - but the application is a mess.
We need a clean version of C++ that's not some gigantic new thing.
Smart pointers are unified since C++11 standard with support in all modern compilers for various platform. Invest some time to get familiar with them and you will not regret.