TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
io.hpp File Reference
#include "./clef.hpp"
#include <functional>
#include <iostream>
#include <tuple>
#include <type_traits>
#include <utility>

Detailed Description

Provides IO for clef objects.

Definition in file io.hpp.

Go to the source code of this file.

Functions

template<typename Tag , typename L >
requires std::is_base_of_v<tags::unary_op, Tag>
std::ostream & nda::clef::operator<< (std::ostream &sout, expr< Tag, L > const &ex)
 Print an nda::clef::tags::unary_op expression to std::ostream.
 
template<typename Tag , typename L , typename R >
requires std::is_base_of_v<tags::binary_op, Tag>
std::ostream & nda::clef::operator<< (std::ostream &sout, expr< Tag, L, R > const &ex)
 Print an nda::clef::tags::binary_op expression to std::ostream.
 
template<typename... Ts>
std::ostream & nda::clef::operator<< (std::ostream &sout, expr< tags::function, Ts... > const &ex)
 Print an nda::clef::tags::function expression to std::ostream.
 
template<typename C , typename A , typename B >
std::ostream & nda::clef::operator<< (std::ostream &sout, expr< tags::if_else, C, A, B > const &ex)
 Print an nda::clef::tags::if_else expression to std::ostream.
 
template<typename T >
std::ostream & nda::clef::operator<< (std::ostream &sout, expr< tags::negate, T > const &ex)
 Print an nda::clef::tags::negate expression to std::ostream.
 
template<typename T >
std::ostream & nda::clef::operator<< (std::ostream &sout, expr< tags::subscript, T > const &ex)
 Print an nda::clef::tags::subscript expression to std::ostream.
 
template<typename... Ts>
std::ostream & nda::clef::operator<< (std::ostream &sout, expr< tags::subscript, Ts... > const &ex)
 Print a general nda::clef::tags::subscript expression to std::ostream.
 
template<typename T >
std::ostream & nda::clef::operator<< (std::ostream &sout, expr< tags::terminal, T > const &ex)
 Print an nda::clef::tags::terminal expression to std::ostream.
 
template<typename Expr , int... Is>
std::ostream & nda::clef::operator<< (std::ostream &sout, make_fun_impl< Expr, Is... > const &f)
 Print an nda::clef::make_fun_impl object to std::ostream.
 
template<int N>
std::ostream & nda::clef::operator<< (std::ostream &sout, placeholder< N >)
 Print an nda::clef::placeholder to a std::ostream.
 
template<typename T >
std::ostream & nda::clef::operator<< (std::ostream &sout, std::reference_wrapper< T > const &wrapper)
 Print the value contained in a std::reference_wrapper to std::ostream.
 
template<typename Tuple >
std::ostream & nda::clef::print_tuple (std::ostream &sout, Tuple const &t)
 Print a std::tuple to std::ostream.
 
template<typename T0 , typename... Ts>
std::ostream & nda::clef::variadic_print (std::ostream &sout, T0 &&t0, Ts &&...ts)
 Print a variadic list of arguments to std::ostream.