RE: Re: How can I use MFC in wtl project

"Anna-Jayne Metcalfe" <[email protected]>
Newsgroups gmane.comp.windows.wtl
Message-ID <!&!AAAAAAAAAAAYAAAAAAAAAL2iBC0xSJNOku7A7WfPBB1CgQAAEAAAAMZd/[email protected]>
Hi Dick,

> Can you use the STL container "list" instead of CList? It carries the
expense of the C runtime, but some prefer the STL container to CList.

That would be my suggestion too. There really are few reasons to use the old
MFC containers in new projects these days.*

However, if the OP really, really wants the now non-standard interface they
offer each has an ATL equivalent (CList => CAtlList, CArray => CAtlArray,
CMap => CAtlMap) which would probably suit his purposes.

* CAtlMap is a possible exception, as it's far faster than the STL std::map
- but std::unordered_map changes that once C++ 0x is out in the wild.



Cheers,

	Anna x

	http://www.riverblade.co.uk
	Twitterings: http://twitter.com/annajayne
 	Flickr: http://www.flickr.com/photos/jalapenokitten/




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.