Variable ripple::has_storage_layout_v¶
Defined in File storage_traits.hpp
Variable Documentation¶
-
template<typename
T>
constexpr autoripple::has_storage_layout_v= detail::HasStorageLayout<std::decay_t<T>>::value¶ Determines if a type has a StorageLayout type as a template parameter.
- Note
This will not work if the class has template parameters which are not types (i.e non-type template parameters). If this is required, the numeric template parameters can be wrapped in the Num or Int64 classes before calling this.
- Return
true if the type has a template parameter which is a storage layout.
- Template Parameters
T: The type to determine if has a storage layout parameter.