UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
ufo::Range< T >::Comparator Struct Reference

Comparator for interval ordering in associative containers. More...

#include <lib/core/include/ufo/core/range.hpp>

Public Types

using is_transparent = std::true_type
 
using range_type = std::pair< T, T >
 

Public Member Functions

constexpr bool operator() (Range lhs, Range rhs) const noexcept
 
constexpr bool operator() (Range lhs, range_type rhs) const noexcept
 
constexpr bool operator() (range_type lhs, Range rhs) const noexcept
 

Detailed Description

template<typename T>
struct ufo::Range< T >::Comparator

Comparator for interval ordering in associative containers.

Implements interval ordering: [a, b] < [c, d] iff b < c. Supports transparent (heterogeneous) lookup.

Definition at line 106 of file range.hpp.

Member Typedef Documentation

◆ is_transparent

template<typename T >
using ufo::Range< T >::Comparator::is_transparent = std::true_type

Definition at line 108 of file range.hpp.

◆ range_type

template<typename T >
using ufo::Range< T >::Comparator::range_type = std::pair<T, T>

Definition at line 107 of file range.hpp.

Member Function Documentation

◆ operator()() [1/3]

template<typename T >
constexpr bool ufo::Range< T >::Comparator::operator() ( Range  lhs,
Range  rhs 
) const
inlineconstexprnoexcept

Definition at line 110 of file range.hpp.

◆ operator()() [2/3]

template<typename T >
constexpr bool ufo::Range< T >::Comparator::operator() ( Range  lhs,
range_type  rhs 
) const
inlineconstexprnoexcept

Definition at line 115 of file range.hpp.

◆ operator()() [3/3]

template<typename T >
constexpr bool ufo::Range< T >::Comparator::operator() ( range_type  lhs,
Range  rhs 
) const
inlineconstexprnoexcept

Definition at line 120 of file range.hpp.


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