36 typedef typename std::add_const<T>::type&
ConstType;
44 typedef typename std::add_const<T>::type*
ConstType;
59 using std::tuple_element;
61 using std::tuple_size;
63 using std::make_tuple;
70 static std::ostream&
put(std::ostream& os,
const T& t,
const char* delim=
", ")
76 static std::istream &
get ( std::istream &is, T &t,
const char *delim =
"," )
79 for(
const char *it = delim; is && (*it != 0); ++it )
84 is.setstate( std::ios::failbit );
94 static std::ostream&
put(std::ostream& os,
const T& t,
const char* delim=
", ")
97 return os<<Dune::get<0>(t);
101 static std::istream &
get ( std::istream &is, T &t,
const char *delim =
", " )
103 return is >> Dune::get< 0 >( t );
111 static std::ostream&
put(std::ostream& os,
const T& t,
const char* delim=
", ")
117 static std::istream &
get ( std::istream &is, T &t,
const char *delim =
", " )
126 template<
typename... Ts>
127 inline std::ostream&
operator<<(std::ostream& os,
const tuple<Ts...>& t)
135 template<
typename... Ts>
136 inline std::istream&
operator>>(std::istream& is, tuple<Ts...>& t)
Traits for type conversions and type information.
Definition of the DUNE_UNUSED macro for the case that config.h is not available.
#define DUNE_UNUSED_PARAMETER(parm)
A macro to mark intentionally unused function parameters with.
Definition unused.hh:18
static std::ostream & put(std::ostream &os, const T &t, const char *delim=", ")
Definition tuples.hh:70
std::add_const< T >::type & ConstType
Definition tuples.hh:36
static std::ostream & put(std::ostream &os, const T &t, const char *delim=", ")
Definition tuples.hh:111
T * ParameterType
Definition tuples.hh:46
std::ostream & operator<<(std::ostream &s, const std::array< T, N > &e)
Output operator for array.
Definition array.hh:28
static std::istream & get(std::istream &is, T &t, const char *delim=",")
Definition tuples.hh:76
T & ConstType
Definition tuples.hh:52
T * NonConstType
Definition tuples.hh:45
std::istream & operator>>(std::istream &is, tuple< Ts... > &t)
Read a tuple.
Definition tuples.hh:136
static std::istream & get(std::istream &is, T &t, const char *delim=", ")
Definition tuples.hh:117
T & NonConstType
Definition tuples.hh:53
T & NonConstType
Definition tuples.hh:37
static std::ostream & put(std::ostream &os, const T &t, const char *delim=", ")
Definition tuples.hh:94
static std::istream & get(std::istream &is, T &t, const char *delim=", ")
Definition tuples.hh:101
T & ParameterType
Definition tuples.hh:54
const std::remove_const< T >::type & ParameterType
Definition tuples.hh:38
std::add_const< T >::type * ConstType
Definition tuples.hh:44
Dune namespace.
Definition alignment.hh:11
void put(const RAPropertyMapHelper< Reference, PropertyMap > &pmap, const Key &key, const Value &value)
Definition propertymap.hh:90
Reference get(const RAPropertyMapHelper< Reference, PropertyMap > &pmap, const Key &key)
Definition propertymap.hh:82