Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2004-02-03 13:00:31


"Rich Sposato" <rds_at_[hidden]> wrote in message
news:401F52D5.1090409_at_richsposato.com...
> [...]
> The containers are called flex_set, flex_map, flex_multiset, and
> flex_multimap. They are similar to the 4 STL associative containers.
> There are two important differences between the STL containers
> and these:
> 1. You can search on any type that is comparable to the key_type,
> rather than just the key_type. (The STL associative containers only
> allows searches on the same type as the key.)
> 2. You do *not* need to create a temporary object of key_type to
> search through the containers. (The STL containers require you to
> create one temporary object to search for another.)
> [...]

This is pretty cool. I've had uses for this kind of thing many times,
and always wrote a hack to solve it.

Dave

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.571 / Virus Database: 361 - Release Date: 1/26/2004

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk