- Home
- About DUNE
- Download
- Documentation
- Community
- Development
A tuple consisting of one object. Specialization of Pair that really is a single value. More...
#include <dune/common/tuples.hh>
Public Types | |
typedef T1 | Type1 |
The type of the first field. | |
typedef Nil | Type2 |
The type of the (non-existent) second field is Nil. This typedef is useful in template metaprogramming, since it allows you to specialise for Nil instead of Pair<T, Nil> | |
Public Member Functions | |
Pair (typename TupleAccessTraits< T1 >::ParameterType first, const Nil &, const Nil &, const Nil &, const Nil &, const Nil &, const Nil &, const Nil &, const Nil &) | |
Constructor. | |
Pair (typename TupleAccessTraits< T1 >::ParameterType first, const Nil &) | |
Constructor. | |
Pair () | |
template<typename T2 > | |
Pair (const Pair< T2, Nil > &other) | |
Copy constructor for type conversion. | |
template<typename T2 > | |
Pair & | operator= (const Pair< T2, Nil > &other) |
Assignment operator for type conversion. | |
Pair & | operator= (const Pair &other) |
Assignment operator. | |
TupleAccessTraits< Type1 > ::NonConstType | first () |
Get the first value. | |
TupleAccessTraits< Type1 > ::ConstType | first () const |
Get the first value. | |
Public Attributes | |
Type1 | first_ |
The value of the first field. |
A tuple consisting of one object. Specialization of Pair that really is a single value.
typedef T1 Dune::Pair< T1, Nil >::Type1 |
The type of the first field.
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].