Keeping smart pointers in a dynamic array.
-
Hi, Please suggest a method to keep an array of smart pointers(IXMLDOMElementPtr) in an dynamic array. Can we use any built-in collection classes for this purpose? Please help by giving the best method. Thanx in advance
-
Hi, Please suggest a method to keep an array of smart pointers(IXMLDOMElementPtr) in an dynamic array. Can we use any built-in collection classes for this purpose? Please help by giving the best method. Thanx in advance
-
Actually, in general COM smart pointers can't be used in STL collections without adaption as they overide
operator &
.Steve
-
Actually, in general COM smart pointers can't be used in STL collections without adaption as they overide
operator &
.Steve
So, any other solution? How to adapt STL collections for keeping smart pointers.
-
So, any other solution? How to adapt STL collections for keeping smart pointers.