You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Learn more about: no_smart_pointers import attribute
title
no_smart_pointers import attribute
ms.date
08/29/2019
f1_keywords
no_smart_pointers
helpviewer_keywords
no_smart_pointers attribute
ms.assetid
d69dd71e-08a8-4446-a3d0-a062dc29cb17
no_smart_pointers import attribute
C++ Specific
Suppresses the creation of smart pointers for all interfaces in the type library.
Syntax
#importtype-libraryno_smart_pointers
Remarks
By default, when you use #import, you get a smart pointer declaration for all interfaces in the type library. These smart pointers are of type _com_ptr_t.