dune-common  2.5.1
Classes | Namespaces | Typedefs | Functions
typetraits.hh File Reference

Traits for type conversions and type information. More...

#include <complex>
#include <type_traits>
#include <dune/common/deprecated.hh>

Go to the source code of this file.

Classes

struct  Dune::detail::voider<... >
 
struct  Dune::Empty
 Just an empty class. More...
 
struct  Dune::ConstantVolatileTraits< T >
 Determines whether a type is const or volatile and provides the unqualified types. More...
 
struct  Dune::IsVolatile< T >
 Tests whether a type is volatile. More...
 
struct  Dune::IsConst< T >
 Tests whether a type is constant. More...
 
struct  Dune::remove_const< T >
 
struct  Dune::remove_reference< T >
 
struct  Dune::Conversion< From, To >
 Checks whether a type is convertible to another. More...
 
struct  Dune::IsBaseOf< Base, Derived >
 Checks whether a type is derived from another. More...
 
struct  Dune::IsInteroperable< T1, T2 >
 Checks whether two types are interoperable. More...
 
struct  Dune::enable_if< B, T >
 
struct  Dune::enable_if< true, T >
 
struct  Dune::EnableIfInterOperable< T1, T2, Type >
 Enable typedef if two types are interoperable. More...
 
struct  Dune::is_same< T, U >
 
struct  Dune::conditional< B, T, F >
 
struct  Dune::integral_constant< T, v >
 
struct  Dune::true_type
 
struct  Dune::false_type
 
struct  Dune::is_pointer< T >
 
struct  Dune::is_lvalue_reference< T >
 
struct  Dune::remove_pointer< T >
 
struct  Dune::AlwaysFalse< T >
 template which always yields a false value More...
 
struct  Dune::AlwaysTrue< T >
 template which always yields a true value More...
 
struct  Dune::IsNumber< T >
 
struct  Dune::IsNumber< std::complex< T > >
 
struct  Dune::has_nan< T >
 
struct  Dune::has_nan< std::complex< T > >
 
struct  Dune::is_indexable< T, I >
 
struct  Dune::is_range< T, typename >
 
struct  Dune::FieldTraits< T >
 
struct  Dune::Imp::IsTuple< T >
 
struct  Dune::Imp::IsTuple< std::tuple< T... > >
 
struct  Dune::IsTuple< T >
 Check if T is a std::tuple<...> More...
 
struct  Dune::IsTupleOrDerived< T >
 Check if T derived from a std::tuple<...> More...
 
struct  Dune::Imp::IsIntegralConstant< T >
 
struct  Dune::Imp::IsIntegralConstant< std::integral_constant< T, t > >
 
struct  Dune::IsIntegralConstant< T >
 Check if T is an std::integral_constant<I, i> More...
 
struct  Dune::SizeOf< T >
 Compute size of variadic type list. More...
 

Namespaces

 Dune
 Dune namespace.
 
 Dune::detail
 
 Dune::Impl
 
 Dune::Imp
 

Typedefs

template<class... Types>
using Dune::void_t = typename detail::voider< Types... >::type
 Is void for all valid input types (see N3911). The workhorse for C++11 SFINAE-techniques. More...
 
template<class Type >
using Dune::field_t = typename FieldTraits< Type >::field_type
 Convenient access to FieldTraits<Type>::field_type. More...
 
template<class Type >
using Dune::real_t = typename FieldTraits< Type >::real_type
 Convenient access to FieldTraits<Type>::real_type. More...
 

Functions

template<class... T>
void Dune::Impl::ignore (T &&... t)
 
template<class... T, class Dummy >
std::true_type Dune::Imp::isTupleOrDerived (const std::tuple< T... > *, Dummy)
 
template<class Dummy >
std::false_type Dune::Imp::isTupleOrDerived (const void *, Dummy)
 

Detailed Description

Traits for type conversions and type information.

Author
Markus Blatt, Christian Engwer