Boost logo

Boost :

From: Stefan Slapeta (stefan_at_[hidden])
Date: 2004-02-03 14:28:39


Rich Sposato wrote:

> 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.)

BTW, there is also an extention in STLPort which supports comparisons
like this.

I often wondered why this isn't supported by the standard containers.
Any idea?

S.


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