libfoedus-core
FOEDUS Core Library
foedus::xct::SysxctLockEntry::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 143 of file sysxct_impl.hpp.

#include <sysxct_impl.hpp>

Public Member Functions

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

Member Function Documentation

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

Definition at line 144 of file sysxct_impl.hpp.

References foedus::xct::SysxctLockEntry::universal_lock_id_.

144  {
145  return lhs < rhs.universal_lock_id_;
146  }
bool foedus::xct::SysxctLockEntry::LessThan::operator() ( const SysxctLockEntry lhs,
UniversalLockId  rhs 
) const
inline

Definition at line 147 of file sysxct_impl.hpp.

References foedus::xct::SysxctLockEntry::universal_lock_id_.

147  {
148  return lhs.universal_lock_id_ < rhs;
149  }

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