Thrill  0.1
BTree< Key, Value, KeyOfValue, Compare, Traits, Duplicates, Allocator >::value_compare Class Reference

Detailed Description

template<typename Key, typename Value, typename KeyOfValue, typename Compare = std::less<Key>, typename Traits = btree_default_traits<Key, Value>, bool Duplicates = false, typename Allocator = std::allocator<Value>>
class tlx::BTree< Key, Value, KeyOfValue, Compare, Traits, Duplicates, Allocator >::value_compare

Function class to compare value_type objects. Required by the STL.

Definition at line 1160 of file btree.hpp.

#include <btree.hpp>

Public Member Functions

bool operator() (const value_type &x, const value_type &y) const
 Function call "less"-operator resulting in true if x < y. More...
 

Protected Member Functions

 value_compare (key_compare kc)
 Constructor called from BTree::value_comp() More...
 

Protected Attributes

key_compare key_comp
 Key comparison function from the template parameter. More...
 

Constructor & Destructor Documentation

◆ value_compare()

value_compare ( key_compare  kc)
inlineexplicitprotected

Constructor called from BTree::value_comp()

Definition at line 1167 of file btree.hpp.

Member Function Documentation

◆ operator()()

bool operator() ( const value_type x,
const value_type y 
) const
inline

Function call "less"-operator resulting in true if x < y.

Definition at line 1177 of file btree.hpp.

Member Data Documentation

◆ key_comp

key_compare key_comp
protected

Key comparison function from the template parameter.

Definition at line 1164 of file btree.hpp.


The documentation for this class was generated from the following file: