Spatial C++ Library
Generic Multi-Dimensional Containers and Spatial Operations
spatial::bracket_less< Tp > Struct Template Reference

A comparator that simplifies using the spatial containers with a Key type that has coordiates accessible via the bracket operator. More...

#include <spatial_builtin.hpp>

Public Member Functions

bool operator() (dimension_type n, const Tp &x, const Tp &y) const
 
bool operator() (dimension_type a, const Tp &x, dimension_type b, const Tp &y) const
 

Detailed Description

template<typename Tp>
struct spatial::bracket_less< Tp >

A comparator that simplifies using the spatial containers with a Key type that has coordiates accessible via the bracket operator.

Concept:
This object is a model of Generalized Comparison

Definition at line 28 of file spatial_builtin.hpp.

Member Function Documentation

template<typename Tp >
bool spatial::bracket_less< Tp >::operator() ( dimension_type  n,
const Tp &  x,
const Tp &  y 
) const

Definition at line 166 of file function.hpp.

template<typename Tp >
bool spatial::bracket_less< Tp >::operator() ( dimension_type  a,
const Tp &  x,
dimension_type  b,
const Tp &  y 
) const

Definition at line 172 of file function.hpp.


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