DUNE-ACFEM (unstable)
types.hh
591 using U3 = ConditionalType<std::is_lvalue_reference<T>::value, std::add_lvalue_reference_t<U2>, U2>;
592 using U4 = ConditionalType<std::is_rvalue_reference<T>::value, std::add_rvalue_reference_t<U3>, U3>;
Constant< typename Const::value_type, Const::value+1 > Incr
Increment an integral_constant.
Definition: types.hh:79
Constant< typename Const::value_type, Const::value - 1 > Decr
Decrement an integral_constant.
Definition: types.hh:83
Constant< std::ptrdiff_t, V > IntConstant
Short-for integral constant of type std::p0trdiff_t.
Definition: types.hh:52
Sequence< std::ptrdiff_t, V... > IntSequence
Sequence of std::ptrdiff_t values.
Definition: types.hh:68
Sequence< std::size_t, V... > IndexSequence
Sequence of std::size_t values.
Definition: types.hh:64
integral_constant< T, V > Constant
Short-cut for any integral constant.
Definition: types.hh:40
Constant< bool, V > BoolConstant
Short-cut for integral constant of type bool.
Definition: types.hh:48
std::integer_sequence< T, V... > Sequence
Sequence of any type of integer values.
Definition: types.hh:56
Constant< std::size_t, V > IndexConstant
Short-cut for integral constant of type std::size_t.
Definition: types.hh:44
Sequence< bool, Decisions... > BoolSequence
Sequence of boolean values.
Definition: types.hh:60
std::is_same< std::decay_t< T1 >, std::decay_t< T2 > > HasSameDecay
true if the decay types match.
Definition: types.hh:98
BoolConstant<(std::is_const< T >::value||std::is_const< std::remove_reference_t< T > >::value)> RefersConst
TrueType if const or a reference to a const.
Definition: types.hh:133
constexpr auto boolType(BoolConstant< Cond > arg=BoolConstant< Cond >{})
Generate a BoolConstant.
Definition: types.hh:120
constexpr T forwardReturnValue(std::remove_reference_t< T > &t)
Forward lvalue-references as references.
Definition: types.hh:622
SwitchType< CaseNotVoid< A >... > OrType
First non-void type in list.
Definition: types.hh:574
typename MakeType< T... >::Type FirstType
Generate the first type of the template argument list.
Definition: types.hh:147
typename copy_cv_reference< From, To >::type copy_cv_reference_t
Export a type copy_cv_reference::type which has the same qualifiers as T and decays to the decay of U...
Definition: types.hh:599
typename MakeType< FalseType, Other... >::Type AlwaysFalse
Generate FalseType regardless of the template argument list.
Definition: types.hh:155
typename MakeType< TrueType, Other... >::Type AlwaysTrue
Generate TrueType regardless of the template argument list.
Definition: types.hh:159
constexpr auto forwardAsPair(T0 &&t0, T1 &&t1)
Forward as pair capturing lvalue references.
Definition: types.hh:124
typename MakeType< void, Other... >::Type VoidType
Generate void regardless of the template argument list.
Definition: types.hh:151
BoolConstant< false > FalseType
Alias for std::false_type.
Definition: types.hh:110
SwitchType< Case< C, Yes >, No > IfElseType
Type Yes if C is true, otherwise type No which default to void.
Definition: types.hh:570
std::is_same< T, std::decay_t< T > > IsDecay
true if T is its own decay type.
Definition: types.hh:94
typename remove_const< T >::type remove_const_t
Export a type trough remove_const::type as follows:
Definition: types.hh:618
typename Switch< Cases... >::Type SwitchType
Multiple conditions.
Definition: types.hh:564
SwitchType< CaseSame< A, B >, Default > AndType
A if A and B have same type, otherwise Default.
Definition: types.hh:578
std::is_base_of< std::decay_t< Base >, std::decay_t< Derived > > IsBaseOfDecay
TrueType if the decay type of Base is a base of the DecayType of Derived.
Definition: types.hh:104
STL namespace.
Gets the type of the n-th element of a tuple-like or the std::integral_constant corresponding to the ...
Definition: access.hh:42
Definition: types.hh:422
Definition: types.hh:446
Assume a predicate is a traits-class and would never evaluate to false unless it is equivalent to Alw...
Definition: types.hh:183
Assume a predicate is a traits-class and would never evaluate to true unless it is equivalent to Alwa...
Definition: types.hh:167
Definition: types.hh:404
Definition: types.hh:335
Definition: types.hh:359
Definition: types.hh:296
Definition: types.hh:279
Definition: types.hh:374
Definition: types.hh:141
Discard any but the first template parameter, instantiate F with T and Rest.
Definition: types.hh:227
Generate a one-parameter template to support template-template arguments with a single argument.
Definition: types.hh:255
Wrap the given predicate class F into another one with spcial requirements.
Definition: types.hh:218
Wrap a predicate into a class which can be passed on as argument.
Definition: types.hh:264
TrueType if T1 and T2 have the same decay types, otherwise FalseType.
Definition: types.hh:440
Export a type copy_cv_reference::type which has the same qualifiers as T and decays to the decay of U...
Definition: types.hh:585
Export a type trough remove_const::type as follows:
Definition: types.hh:610
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 27, 23:30, 2024)