|
SUNphi
1.0
|
Provides default for a serializer. More...
Go to the source code of this file.
Classes | |
| struct | SUNphi::HasMember_isDefault< Type > |
| struct | SUNphi::HasMember_isDefault< Type >::Fallback |
| struct | SUNphi::HasMember_isDefault< Type >::Derived |
| struct | SUNphi::HasMember_isDefault< Type >::Check< U, U > |
| struct | SUNphi::ConstrainHasMember_isDefault< T > |
| Class forcing T to have a member "isDefault" defined. More... | |
| class | SUNphi::SerializableDefaultValue< T, bool > |
| class | SUNphi::SerializableDefaultValue< T, true > |
| Provide a default value for a serializable reference. More... | |
| class | SUNphi::SerializableDefaultValue< T, false > |
| Provide no default value for a serializable reference. More... | |
Functions | |
| template<typename Type > | |
| constexpr bool | SUNphi::hasMember_isDefaultHelper () |
Variables | |
| template<typename Type > | |
| constexpr bool | SUNphi::hasMember_isDefault = hasMember_isDefaultHelper<RemRef<Type>>() |
| constexpr bool | SUNphi::ONLY_NON_DEFAULT |
| Mark to print only non-default. More... | |
Provides default for a serializer.
Definition in file Default.hpp.
| constexpr bool SUNphi::hasMember_isDefaultHelper | ( | ) |
Intemediate function to distinguish the non-class case
Definition at line 13 of file Default.hpp.
| constexpr bool SUNphi::hasMember_isDefault = hasMember_isDefaultHelper<RemRef<Type>>() |
Detect if Type has member (variable or method) isDefault
Uses SFINAE to induce ambiguity in the detection of the member
Definition at line 13 of file Default.hpp.
| constexpr bool SUNphi::ONLY_NON_DEFAULT |