Overview     Usage     Performance Notes     Links tst 0.68 - 23 Jan 2009

ternary_tree::key_compare Class Reference

Inherits std::binary_function< StringT, StringT, bool >.

List of all members.


Detailed Description

template<class StringT, class DataT, class CompT = std::less<typename StringT::value_type>, class AllocT = std::allocator<DataT>>
class containers::ternary_tree< StringT, DataT, CompT, AllocT >::key_compare

Key comparator, defined in terms of a lexicographical_compare using the char_compare object.


Public Member Functions

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

Protected Member Functions

 key_compare (char_compare c)

Protected Attributes

char_compare comp

Friends

class ternary_tree


Constructor & Destructor Documentation

key_compare ( char_compare  c  )  [inline, protected]


Member Function Documentation

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


Friends And Related Function Documentation

friend class ternary_tree [friend]


Member Data Documentation

char_compare comp [protected]


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