Dune Core Modules (2.4.1)

Fallback implementation of the std::tuple class. More...

#include <iostream>
#include "typetraits.hh"
#include "unused.hh"
#include <tuple>

Go to the source code of this file.

Namespaces

namespace  Dune
 Dune namespace.
 

Functions

template<typename T1 >
std::ostream & Dune::operator<< (std::ostream &os, const tuple< T1 > &t)
 Print a tuple.
 
template<typename T1 >
std::istream & Dune::operator>> (std::istream &is, tuple< T1 > &t)
 Read a tuple.
 

Detailed Description

Fallback implementation of the std::tuple class.

This a refined implementation of the approach defined in in the article "Tuples and multiple return values in C++" of Jaakko Järvi (Turku Centre of Computer Science, TUCS Technical Report No 249, March 1999, ISBN 952-12-0401-X, ISSN 1239-1891) available from the TUCS publications archive

Author
Markus Blatt
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)