Helper type to define and access fields. More...
Classes | |
struct | definition |
A field registration. More... | |
Public Types | |
template<partition_privilege_t... PP> | |
using | accessor = accessor1< privilege_pack< PP... > > |
The accessor to use as a parameter to receive this sort of field. | |
template<partition_privilege_t... PP> | |
using | mutator = mutator1< privilege_pack< PP... > > |
The mutator to use as a parameter for this sort of field (usable only for certain layouts). | |
template<class R > | |
using | reduction = reduction_accessor< R, T > |
Reduction accessor corresponding to this field type. | |
Public Member Functions | |
field ()=delete | |
Fields cannot be constructed. Use definition instead. | |
Helper type to define and access fields.
T | field value type:
|
L | data layout |
using accessor = accessor1<privilege_pack<PP...> > |
The accessor to use as a parameter to receive this sort of field.
PP | the appropriate number of privilege values, interpreted as
|
using mutator = mutator1<privilege_pack<PP...> > |
The mutator to use as a parameter for this sort of field (usable only for certain layouts).
PP | as for accessor |
using reduction = reduction_accessor<R, T> |
Reduction accessor corresponding to this field type.
This is only implemented for a Dense layout.
|
delete |
Fields cannot be constructed. Use definition
instead.