Overview     Usage     Performance Notes     Links tst 0.68 - 23 Jan 2009

structured_map::value_compare Class Reference

Inherits std::binary_function< std::pair< const KeyT, DataT >, std::pair< const KeyT, DataT >, bool >.

List of all members.


Detailed Description

template<class KeyT, class DataT, class CompT = std::less<typename KeyT::value_type>, class AllocT = std::allocator<std::pair<const KeyT, DataT> >>
class containers::structured_map< KeyT, DataT, CompT, AllocT >::value_compare

Value comparator, applying the key_compare to the key part of value_type.

Public Member Functions

bool operator() (const value_type &a, const value_type &b) const

Protected Member Functions

 value_compare (key_compare c)

Protected Attributes

key_compare comp

Constructor & Destructor Documentation

value_compare ( key_compare  c  )  [inline, protected]


Member Function Documentation

bool operator() ( const value_type a,
const value_type b 
) const [inline]


Member Data Documentation

key_compare comp [protected]


ternary_tree 0.68 -- by rasmus ekman -- Page generated with Doxygen 1.5.6 on 23 Jan 2009