Skip to content

Struct std::less< astrea::trace::IdPair >

template <>

ClassList > std > less< astrea::trace::IdPair >

Specialization of std::less for IdPair to allow it to be used in ordered containers.

  • #include <IdPair.hpp>

Public Functions

Type Name
bool operator() (const astrea::trace::IdPair & lhs, const astrea::trace::IdPair & rhs) const
Compares two IdPairs for ordering.

Public Functions Documentation

function operator()

Compares two IdPairs for ordering.

inline bool std::less< astrea::trace::IdPair >::operator() (
    const astrea::trace::IdPair & lhs,
    const astrea::trace::IdPair & rhs
) const

Parameters:

  • lhs The first IdPair to compare.
  • rhs The second IdPair to compare.

Returns:

True if lhs is less than rhs, false otherwise.



The documentation for this class was generated from the following file astrea/trace/trace/types/IdPair.hpp