[openbeos] Re: STL

  • From: Mathew Hounsell <mat.geek@xxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sun, 11 Nov 2001 18:17:56 -0800 (PST)

Perhaps we should 

Discussions about STL are often heated and shallow because most people, me
included, don't completely understand it. It is large, complex and powerful.

But for OpenBeos, most importantly it is ***Standard*** and it is

A simpler string may be useful. But BeAPI only uses BList and if it only
uses list then we only need to wrap std::list, speed is not a high concern
of list usage. Remembering most GUI's are wiating for the user not for the
CPU or memory.

Once you understand it and learn what you need it is very powerful. Better
implementations of the library are domains for library developers, eg GNU
STDLIB++, not us.

Although it should be noted gcc is not to great at templates.

C++ User Journal, generally has interesting articles, many about STL.

These are a few more significant ones:

In Dec-2001:

An Iostream-Compatible Socket Wrapper ( Maciej Sobczak )
    'With suitable scaffolding, writing to a socket is as easy as cout <<
"Hello, world";. '
This is a good example of STL use.


An STL Error Message Decryptor for Visual C++

Generic<Programming>: A Policy-Based basic_string Implementation

 Get 100% private, FREE email for life from Excite Australia
 Visit http://inbox.excite.com.au/ 

Other related posts:

  • » [openbeos] Re: STL