Turi Create
4.0
|
#include <core/data/flexible_type/flexible_type_base_types.hpp>
Identifies the flex_type_enum representing the type, All other non-matching types will return UNDEFINED.
type_to_enum<T>::value is the corresponding enumeration value in flex_type_enum if T matches exactly one of the flexible_type content types. type_to_enum<T>::value is flex_type_enum::UNDEFINED otherwise.
This is very useful for SFINAE operations.
Example: The following lines will both return flex_type_enum::INTEGER
Definition at line 499 of file flexible_type_base_types.hpp.