#include <fid.h>
Value type validation class to that can be used to prevent certain types from being used as value type in containers. For instance, DataDictionary uses it to prevent use of LiteralId as value type (LiteralId is constexpr, cannot be de-serialized).
ILLEGALTYPE | First illegal type to test. |
OTHERILLEGALTYPES | More illegal types. Optional. |
Static Public Member Functions | |
template<typename VALUETYPE , typename KEYTYPE > | |
static constexpr Bool | IsValueTypeLegal () |
|
staticconstexpr |
Verifies if the final value type is legal. Final value type can either be VALUETYPE or KEYTYPE::ValueType in case of a MAXON_ATTRIBUTE.
VALUETYPE | Value type to be written to container. |
KEYTYPE | Key type used to write the value to the container. |