cds  2.3.2
cds::intrusive::feldman_hashset::bitwise_compare< T > Struct Template Reference

Bit-wise memcmp-based comparator for hash value T. More...

#include <cds/intrusive/details/feldman_hashset_base.h>

Public Member Functions

int operator() (T const &lhs, T const &rhs) const
 Compares lhs and rhs. More...
 

Detailed Description

template<typename T>
struct cds::intrusive::feldman_hashset::bitwise_compare< T >

Bit-wise memcmp-based comparator for hash value T.

Member Function Documentation

◆ operator()()

template<typename T >
int cds::intrusive::feldman_hashset::bitwise_compare< T >::operator() ( T const &  lhs,
T const &  rhs 
) const
inline

Compares lhs and rhs.

Returns:

  • < 0 if lhs < rhs
  • 0 if lhs == rhs
  • > 0 if lhs > rhs

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

cds 2.3.2 Developed by Maxim Khizhinsky aka khizmax and other contributors 2007 - 2017
Autogenerated Sun Dec 31 2017 12:10:43 by Doxygen 1.8.13