Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 1999-07-08 22:26:57

>> You might want some way to get the key part of the value_type generically
>> for associative containers.
> That's whay key_type is all about ! (Or I am missing something ?)

I think so. Suppose you have an object of value_type, but you want just the
object which is the key part of that value_type object. See KeyOfValue in
the implementation of most rb_tree STL components for reference.

------------------------------------------------------------------------ home: - Simplifying group communications

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