2 ms·
Microsoft provides the 'CComPtr' class template, a ref-counting smart-pointer for COM. It's been around since very roughly the year 2000 [0] [1]. Boost's smart
by MaxBarraclough 8y ago
Microsoft provides the 'CComPtr' class template, a ref-counting smart-pointer for COM. It's been around since very roughly the year 2000 [0] [1].
Boost's smart pointers have apparently [2] been around for about as long.
If people have been rolling their own smart pointers since that time, isn't that their own fault?
[0] https://docs.microsoft.com/en-us/cpp/atl/reference/ccomptr-class https://docs.microsoft.com/en-us/cpp/atl/reference/ccomptr-c...
[1] https://en.wikipedia.org/wiki/Active_Template_Library#History https://en.wikipedia.org/wiki/Active_Template_Library#Histor...
[2] https://www.boost.org/doc/libs/1_31_0/libs/smart_ptr/smart_ptr.htm https://www.boost.org/doc/libs/1_31_0/libs/smart_ptr/smart_p...