reflex::range_compare< T > Struct Template Reference

updated Tue Sep 26 2017 by Robert van Engelen
 
Public Member Functions | List of all members
reflex::range_compare< T > Struct Template Reference

Functor to order ranges in the reflex::Ranges set container. More...

#include <ranges.h>

Public Member Functions

bool operator() (const std::pair< T, T > &lhs, const std::pair< T, T > &rhs) const
 Compares two ranges lhs and rhs and returns true if lhs < rhs. More...
 

Detailed Description

template<typename T>
struct reflex::range_compare< T >

Functor to order ranges in the reflex::Ranges set container.

Member Function Documentation

template<typename T >
bool reflex::range_compare< T >::operator() ( const std::pair< T, T > &  lhs,
const std::pair< T, T > &  rhs 
) const
inline

Compares two ranges lhs and rhs and returns true if lhs < rhs.

Returns
true if lhs < rhs.
Parameters
lhsLHS range to compare
rhsRHS range to compare

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