Re: How can I use CArray efficiently?

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Ajay Kalra" <ajaykalra@xxxxxxxxx> wrote in message
news:%23hvNxNjeHHA.1868@xxxxxxxxxxxxxxxxxxxxxxx
STL is more powerful that MFC collections. Its performance is much better
and it also allows you to provide your own allocator, which alone
justifies
its use for high performance apps. MFC collections predate STL by many
years
and there would be no need of it had STL been a part of C++ when MFC came
out.


The need is still there. STL is hopelessly non-intutitive, IMHO! It's
interesting the .NET collections are similar to the MFC ones and not STL.
Now they are talking about creating STL.NET to bring this montrosity into
the world of .NET. :-(

-- David



.



Relevant Pages

  • Re: MFC oder doch nicht MFC?
    ... Was passiert wenn in der DLL ein Ctring ... aber in einem DLL-Interface die STL zu empfehlen ist so ... Gleiches gilt eingeschränkt für die MFC, ...
    (microsoft.public.de.vc)
  • Re: MFC oder doch nicht MFC?
    ... Willst Du nun extern auf die MFC verzichten oder nicht? ... std::map IMHO nicht viel gemeinsam) benötige. ... >Nimm die STL, nimm die STL, nimm die STL. ...
    (microsoft.public.de.vc)
  • Re: CString vs tstring
    ... I suse CString wherever I can, but I admit it's mostly because I've been ... using it for years and I always use MFC and it's already there. ... I really like some of the add-in support using vectors with STL and several ... Does the new VS 2005 have better MFC collection ...
    (microsoft.public.vc.mfc)
  • Re: Programmer knowledge
    ... The choice of MFC has ... although I have switched to STL now. ... would be especially harder to call MFC for the Windows bits than to use ... Portability or app quality - this is an issue that will ...
    (comp.programming)
  • Re: std STL with MFC
    ... STL is cleaner and more general than the MFC classes (which were ... implementation of STL has significant bugs if you use the shared MFC DLL, ... with both Unicode and ANSI applications interchangeably, and there is an implicit LPCTSTR ...
    (microsoft.public.vc.mfc)