Re: about smart types in STL container
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Thu, 6 Apr 2006 23:29:32 -0400
"Leo Jay" <Python.LeoJay@xxxxxxxxx> wrote in message
news:1144377506.268157.147530@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
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?
http://groups.google.com/group/microsoft.public.vc.atl/browse_frm/thread/dae42b772b5288b6
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- References:
- about smart types in STL container
- From: Leo Jay
- about smart types in STL container
- Prev by Date: about smart types in STL container
- Next by Date: Re: Changing owner with CSecurityDesc::SetOwner() does not work
- Previous by thread: about smart types in STL container
- Index(es):
Relevant Pages
|