Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2002-10-06 17:58:51


Some of you might know Leor Zelman's STL Container Initialization Library
( if not, then see ).

I took a little different approach to achieve some really easy
initialization of STL containers.
It's double work to tell about it here. Please go to
where I have set up a beta description.

I would like to know if people were interested in a submission of this
It might be a big help in learning, testing and prototyping situations.

Anyway, the stuff works with gcc 2.95.3-10 (cygwin special) with STLPort
and como 4.3.0 and libcomo (almost that is :-(, libcomo is given some wierd

Under the download section all the relevant code can be browsed.

There is still some tasks that needs to be done (besides cleaning up). The
biggest must
be testing it with different compilers, hope there's some people here that
can help.

best regards

Thorsten Ottosen, Aalborg University



if ( !my_map.containsKey( key ) )
    my_map.put( key, new Integer( 1 ) );
    Integer count = ( Integer )my_map.get( key ) );
    int icount = count.IntValue();
    my_map.put( key, new Integer( ++icount ) );

Boost list run by bdawes at, gregod at, cpdaniel at, john at