Predicting_real_estate_prices_using_scikit-learn icon indicating copy to clipboard operation
Predicting_real_estate_prices_using_scikit-learn copied to clipboard

[ATL] Prohibit the use of AddRef/Release on objects inside CComPtr

Open learn-more opened this issue 3 years ago • 4 comments

Purpose

This mimics what MS's CComPtr is doing: https://learn.microsoft.com/en-us/cpp/atl/reference/ccomptrbase-class?view=msvc-170#operator_ptr The reasoning behind this is that AddRef/Release is handled by the CComPtr, so anyone calling that is most likely not using the CComPtr correct.

learn-more avatar Sep 18 '22 19:09 learn-more