|  | reflex::range_compare< T > Struct Template Reference updated Fri Dec 9 2016 |

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

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

  lhs | LHS range to compare
  rhs | RHS range to compare

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

- ranges.h