Template Struct ModificationTraits< ModificationSpecifier< T, Modification > >¶
Defined in File modifier.hpp
Struct Documentation¶
-
template<typename
T
, ModifierModification
>
structripple
::
ModificationTraits
<ModificationSpecifier<T, Modification>>¶ Modification traits for a type which is a modifier.
- Template Parameters
T
: The type wrapped by the modifier.Modification
: The type of modification for the modifier.
Public Static Attributes
-
constexpr bool
is_modifier
= true¶ Returns true that this is a modifier type.
-
constexpr bool
is_concurrent
= Modification == Modifier::concurrent || Modification == Modifier::concurrent_shared || Modification == Modifier::concurrent_expander || Modification == Modifier::concurrent_shared_expander¶ Returns true if the modification is concurrent.
-
constexpr bool
is_exclusive
= Modification == Modifier::exclusive || Modification == Modifier::exclusive_shared || Modification == Modifier::exclusive_expander || Modification == Modifier::exclusive_shared_expander¶ Returns true if the modification is exclusive.
Returns true if the modification requires shared memory.
-
constexpr bool
is_expander
= Modification == Modifier::expander || Modification == Modifier::shared_expander || Modification == Modifier::concurrent_expander || Modification == Modifier::exclusive_expander || Modification == Modifier::exclusive_shared_expander || Modification == Modifier::concurrent_shared_expander¶ Returns true if this is an expander modifier.
-
constexpr bool
exclusive_or_concurrent
= is_exclusive || is_concurrent¶ Returns true if the modification is exclusive or concurrent.