Why do C++ libraries and frameworks never use smart pointers?
Apart from the fact that many libraries were written before the advent of standard smart pointers, the biggest reason is probably the lack of a standard C++ Application Binary Interface (ABI). If you’re writing a header-only library, you can pass around smart pointers and standard containers to your heart’s content. Their source is available to … Read more