Dune Core Modules (2.5.0)

Type Utilities

Type traits, overload helpers, and other utilities for type computations. More...

Classes

struct  Dune::TypeList< T >
 A simple type list. More...
 
struct  Dune::IsTypeList< T >
 Check if given type is a TypeList. More...
 
struct  Dune::IsTypeList< TypeList< T... > >
 Check if given type is a TypeList. More...
 
struct  Dune::IsEmptyTypeList< T >
 Check if given type is an empty TypeList. More...
 
struct  Dune::TypeListSize< TypeList< T... > >
 Get size of TypeList. More...
 
struct  Dune::TypeListElement< i, TypeList< T... > >
 Get element of TypeList. More...
 
struct  Dune::PriorityTag< priority >
 Helper class for tagging priorities. More...
 
struct  Dune::PriorityTag< 0 >
 Helper class for tagging priorities. More...
 

Typedefs

template<class This , class... T>
using Dune::disableCopyMove = typename std::enable_if<(not(std::is_same< This, typename std::tuple_element< 0, std::tuple< typename std::decay< T >::type... > >::type >::value) and not(std::is_base_of< This, typename std::tuple_element< 0, std::tuple< typename std::decay< T >::type... > >::type >::value)), int >::type
 Helper to disable constructor as copy and move constructor. More...
 

Detailed Description

Type traits, overload helpers, and other utilities for type computations.

Typedef Documentation

◆ disableCopyMove

template<class This , class... T>
using Dune::disableCopyMove = typedef typename std::enable_if< (not(std::is_same<This, typename std::tuple_element<0, std::tuple<typename std::decay<T>::type...> >::type >::value) and not(std::is_base_of<This, typename std::tuple_element<0, std::tuple<typename std::decay<T>::type...> >::type >::value)), int>::type

Helper to disable constructor as copy and move constructor.

Helper typedef to remove constructor with forwarding reference from overload set for copy and move constructor or assignment.

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