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

Go to the source code of this file.

Data Structures

class  ext::tuple< Ts >
 Class extending the tuple class from the standard library. Original reason is to allow printing of the container with overloaded operator <<. More...
 
struct  std::tuple_size< ext::tuple< Types ... > >
 Specialisation of tuple_size for extended tuple. More...
 
struct  std::tuple_element< I, ext::tuple< Types... > >
 Specialisation of tuple_element for extended tuple. More...
 

Namespaces

namespace  ext
 
namespace  std
 

Functions

template<class... Ts>
ext::ostreamext::operator<< (ext::ostream &out, const ext::tuple< Ts... > &tuple)
 Operator to print the tuple to the output stream. More...
 
template<typename ... Elements>
constexpr auto ext::make_tuple (Elements &&... args)
 Helper of extended tuple construction. The tuple is constructed from values pack, types are deduced. More...
 
template<typename ... Elements>
constexpr tuple< Elements &... > ext::tie (Elements &... args) noexcept
 Helper of extended tuple of references construction. The tuple is constructed to reffer to values in the parameter pack, types are deduced. More...