dune-common 3.0-git
|
Fallback implementation of the std::tuple class. More...
Go to the source code of this file.
Classes | |
struct | Dune::TupleAccessTraits< T > |
struct | Dune::TupleAccessTraits< T * > |
struct | Dune::TupleAccessTraits< T & > |
struct | Dune::tuple_writer< i > |
struct | Dune::tuple_writer< 1 > |
struct | Dune::tuple_writer< 0 > |
Namespaces | |
namespace | Dune |
Dune namespace. | |
Functions | |
template<typename... Ts> | |
std::ostream & | Dune::operator<< (std::ostream &os, const tuple< Ts... > &t) |
Print a tuple. | |
template<typename... Ts> | |
std::istream & | Dune::operator>> (std::istream &is, tuple< Ts... > &t) |
Read a tuple. | |
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