c++ - Advice when using COM Object/CComPtr and the STL -


i doing com related things directshow such as:

typedef ccomptr<ibasefilter> autoibasefilterptr; map<cstring, autoibasefilterptr> _filtermap; 

to store list of directshow related com objects , friendly name.

after finding this article (see:problem 2) on how changes in vc10 compiler might effect ok code, wondering if there more things watch out when mixing stl , ccomptr or prehaps mixing stl , com in general.

any tips appreciated, thanks

the slight thing can think of hasn't been mentioned cadapt required ccombstr ccomptr, because overloads operator& too.

in fact, overloading operator& makes cadapt necessary, many stl containers require taking address of x returns pointer said x.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -