Re: about smart types in STL container



"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


.



Relevant Pages

  • 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)
  • Need Help with Report in CR 8.5
    ... I should do a report. ... Basically the report will provide a "delivery date" for containers ... Second, if the container is not marked event or demand, and it has "A" ... the report on the preped data. ...
    (microsoft.public.vb.crystal)
  • Re: Alternate Background
    ... Go onto any layout and temporarily put this field on. ... Copy this square, go into Browse mode and paste it into ... this time a Calculation field (Container ... display whatever colour the report layout's Body part is set to use). ...
    (comp.databases.filemaker)
  • Re: Public folder Email Address
    ... admodify to report on the public folder objects in that container and their ...
    (microsoft.public.exchange.admin)
  • Re: ArrayList without Boxing and UnBoxing
    ... container, and these were available since VC6. ... Note that STL/CLR is now scheduled for ORCAS. ...
    (microsoft.public.dotnet.languages.csharp)