Embedded Template Library  1.0
utility.h File Reference
#include "platform.h"
#include "type_traits.h"
#include <algorithm>

Go to the source code of this file.

Classes

struct  etl::pair< T1, T2 >
 
struct  etl::coordinate_2d< T >
 2D coordinate type. More...
 

Namespaces

 etl
 

Functions

template<typename T1 , typename T2 >
pair< T1, T2 > etl::make_pair (T1 a, T2 b)
 
template<typename T1 , typename T2 >
void etl::swap (pair< T1, T2 > &a, pair< T1, T2 > &b)
 
template<typename T1 , typename T2 >
bool etl::operator== (const pair< T1, T2 > &a, const pair< T1, T2 > &b)
 
template<typename T1 , typename T2 >
bool etl::operator!= (const pair< T1, T2 > &a, const pair< T1, T2 > &b)
 
template<typename T1 , typename T2 >
bool etl::operator< (const pair< T1, T2 > &a, const pair< T1, T2 > &b)
 
template<typename T1 , typename T2 >
bool etl::operator> (const pair< T1, T2 > &a, const pair< T1, T2 > &b)
 
template<typename T1 , typename T2 >
bool etl::operator<= (const pair< T1, T2 > &a, const pair< T1, T2 > &b)
 
template<typename T1 , typename T2 >
bool etl::operator>= (const pair< T1, T2 > &a, const pair< T1, T2 > &b)
 
template<typename T >
etl::exchange (T &object, const T &new_value)
 exchange (const)
 
template<typename T , typename U >
etl::exchange (T &object, const U &new_value)
 
template<typename T >
etl::add_const< T >::type & etl::as_const (T &t)
 as_const