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.

------------------------------------------------------------------------

eGroups.com home: http://www.egroups.com/group/boost
http://www.egroups.com - Simplifying group communications


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