walberla::math::Vector3LexicographicalyLess< T > Struct Template Reference

Detailed Description

template<typename T>
struct walberla::math::Vector3LexicographicalyLess< T >

Functor providing a lexicographical ordering for Vector3.

Template Parameters
TDatatype of the compared Vector3's elements.

#include <Vector3.h>

Public Member Functions

bool operator() (const Vector3< T > &lhs, const Vector3< T > &rhs) const
 Provides a lexicographical less-than-operator for Vector3. More...
 

Member Function Documentation

◆ operator()()

template<typename T >
bool walberla::math::Vector3LexicographicalyLess< T >::operator() ( const Vector3< T > &  lhs,
const Vector3< T > &  rhs 
) const
inline

Provides a lexicographical less-than-operator for Vector3.

Parameters
lhsleft hand side of less-than-operator.
rhsright hand side of less-than-operator.
Returns
true if lhs < rhs (lexicographically), else returns false.

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