aimstil  5.0.5
misc_sort.h File Reference
#include <utility>
#include "misc_sort.tpp"
Include dependency graph for misc_sort.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 til
 Belongs to package Box Do not include directly, include til/Box.h instead.
 

Functions

template<typename TVector2D , typename T >
TVector2D til::sortedVector (T a, T b)
 returns vector (x, y) with x <= y More...
 
template<typename TVector3D , typename T >
TVector3D til::sorted_vector (T a, T b, T c)
 
template<typename TVector3D >
TVector3D til::sorted_vector (TVector3D v)
 NB: the argument is passed by value on purpose. More...
 
template<typename T >
std::pair< T, T > til::make_sorted_pair (T a, T b)
 Return (a, b) if a >= b, (b, a) else. More...