Dune Core Modules (2.6.0)

streamoperators.hh File Reference

Implementation of stream operators for std::array and std::tuple. More...

#include <array>
#include <tuple>
#include <dune/common/hybridutilities.hh>
#include <dune/common/std/utility.hh>

Go to the source code of this file.

Namespaces

namespace  Dune
 Dune namespace.
 

Functions

template<typename Stream , typename... Ts>
Stream & Dune::operator<< (Stream &stream, const std::tuple< Ts... > &t)
 Print a std::tuple.
 
template<typename Stream , typename... Ts>
Stream & Dune::operator>> (Stream &stream, std::tuple< Ts... > &t)
 Read a std::tuple.
 
template<typename Stream , typename T , std::size_t N>
Stream & Dune::operator<< (Stream &stream, const std::array< T, N > &a)
 Print a std::array.
 

Detailed Description

Implementation of stream operators for std::array and std::tuple.

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 13, 23:29, 2024)