Helper type to define and access fields. More...
Classes | |
struct | definition |
A field registration. More... | |
Public Types | |
template<privilege... PP> | |
using | accessor |
The accessor to use as a parameter to receive this sort of field. | |
template<privilege... PP> | |
using | mutator |
The mutator to use as a parameter for this sort of field (usable only for certain layouts). | |
template<class R > | |
using | reduction |
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 |
The accessor to use as a parameter to receive this sort of field.
PP | the appropriate number of privilege values, interpreted as
|
The mutator to use as a parameter for this sort of field (usable only for certain layouts).
PP | as for accessor |
Reduction accessor corresponding to this field type.
This is only implemented for a Dense layout.
|
delete |
Fields cannot be constructed. Use definition
instead.