Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

is_serializable_enum< T > Struct Template Reference

If none of the specialized versions above matched and T is an enum, default to calling Serialize/Unserialze with the underlying type. More...

#include <params.h>

+ Inheritance diagram for is_serializable_enum< T >:
+ Collaboration diagram for is_serializable_enum< T >:

Detailed Description

template<typename T>
struct is_serializable_enum< T >

If none of the specialized versions above matched and T is an enum, default to calling Serialize/Unserialze with the underlying type.

This is only allowed when a specialized struct of is_serializable_enum<Enum> is found which derives from std::true_type. This is to ensure that enums are not serialized with the wrong type by accident.

Definition at line 197 of file params.h.


The documentation for this struct was generated from the following file:
Released under the MIT license