rippled
Public Member Functions | List of all members
ripple::NodeStore::LessThan Struct Reference

Binary function that satisfies the strict-weak-ordering requirement. More...

Public Member Functions

bool operator() (std::shared_ptr< NodeObject > const &lhs, std::shared_ptr< NodeObject > const &rhs) const noexcept
 

Detailed Description

Binary function that satisfies the strict-weak-ordering requirement.

This compares the hashes of both objects and returns true if the first hash is considered to go before the second.

See also
std::sort

Definition at line 44 of file TestBase.h.

Member Function Documentation

◆ operator()()

bool ripple::NodeStore::LessThan::operator() ( std::shared_ptr< NodeObject > const &  lhs,
std::shared_ptr< NodeObject > const &  rhs 
) const
noexcept

Definition at line 47 of file TestBase.h.