libfoedus-core
FOEDUS Core Library
foedus::xct::LockEntry::LessThan Struct Reference

for std::binary_search() etc without creating the object More...

Detailed Description

for std::binary_search() etc without creating the object

Definition at line 172 of file retrospective_lock_list.hpp.

#include <retrospective_lock_list.hpp>

Public Member Functions

bool operator() (UniversalLockId lhs, const LockEntry &rhs) const
 
bool operator() (const LockEntry &lhs, UniversalLockId rhs) const
 

Member Function Documentation

bool foedus::xct::LockEntry::LessThan::operator() ( UniversalLockId  lhs,
const LockEntry rhs 
) const
inline

Definition at line 173 of file retrospective_lock_list.hpp.

References foedus::xct::LockEntry::universal_lock_id_.

173  {
174  return lhs < rhs.universal_lock_id_;
175  }
bool foedus::xct::LockEntry::LessThan::operator() ( const LockEntry lhs,
UniversalLockId  rhs 
) const
inline

Definition at line 176 of file retrospective_lock_list.hpp.

References foedus::xct::LockEntry::universal_lock_id_.

176  {
177  return lhs.universal_lock_id_ < rhs;
178  }

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