about smart types in STL container
dear all,
the ATL Internals says the smart types of ATL can't be put into STL
container
directly, or the compile will report an error.
but, i tried these code:
std::vector< CComPtr<IDefect> > t;
vc6 didn't report any error.
what's the matter?can i put the CComPtr or something like that in a STL
container?
thanks
.
Relevant Pages
- Re: OO Style with Ada Containers
... Can you convince me that Ada.Containers is closer to STL than to Java ... But the burden of proof is on you, to prove that the container library ... A generic algorithm in Ada would look something like: ... procedure Generic_Algorithm (C: Cursor); ... (comp.lang.ada) - Re: PDFSplitMerge - wierd !
... I will report this to Guangmingsoft but expect nothing since ... exe launched from Windows Explorer. ... Add Object cntSend As Container With; ... (microsoft.public.fox.programmer.exchange) - Re: VC9: STL: hash_set/map : hash_compare without operator < ???
... hash class and for an equal_to class. ... You mean the C++ standard library, not the STL. ... while the other must yield false, provided that the elements are not equal. ... This requires that the container can store multiple ... (microsoft.public.vc.language) - Re: Ada Popularity: Comparison of Ada/Charles with C++ STL (and Perl)
... I fully agree that we need a container library inside ... Just like the STL did. ... > I think the STL killed off all the other container libraries because ... string::string (int value) ... (comp.lang.ada) - Re: Is there something basic that I have missed on the upgrade to VS2005?
... > I have quite a bit of legacy code that initialises stl containers ... > called I get a debug assertion in the stl code "ITERATOR LIST ... been invalidated (e.g. by modifying the underlying container). ... (microsoft.public.vc.stl) |
|