Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Data Structures | Namespaces | Functions
pair.hpp File Reference
#include <ext/ostream>
#include <extensions/type_traits.hpp>
#include <extensions/utility.hpp>
Include dependency graph for pair.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ext::pair< T, R >
 Class extending the pair class from the standard library. Original reason is to allow printing of the pair with overloaded operator <<. More...
 
struct  std::tuple_size< ext::pair< First, Second > >
 Specialisation of tuple_size for extended pair. More...
 
struct  std::tuple_element< I, ext::pair< First, Second > >
 Specialisation of tuple_element for extended pair. More...
 

Namespaces

namespace  ext
 
namespace  std
 

Functions

template<typename T1 , typename T2 >
constexpr auto ext::make_pair (T1 &&x, T2 &&y)
 
template<class T , class R >
ext::ostreamext::operator<< (ext::ostream &out, const ext::pair< T, R > &pair)
 Operator to print the pair to the output stream. More...