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

A comparator that simplifies using the spatial containers with a Key type that has coordiates accessible via iterator deference. 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::iterator_less< Tp >

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

Concept:
This object is a model of Generalized Comparison

Definition at line 30 of file spatial_builtin.hpp.

Member Function Documentation

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

Definition at line 210 of file function.hpp.

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

Definition at line 225 of file function.hpp.


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