type::nil is defined only if MSGPACK_USE_LEGACY_NIL in v2.

Note: In v1, type::nil is defined if NOT defined MSGPACK_DISABLE_LEGACY_NIL.
This commit is contained in:
Takatoshi Kondo 2016-03-18 09:40:34 +09:00
parent 84932e62e9
commit 5ecb797d8a

View File

@ -22,6 +22,12 @@ namespace type {
using v1::type::nil_t;
#if defined(MSGPACK_USE_LEGACY_NIL)
typedef nil_t nil;
#endif // defined(MSGPACK_USE_LEGACY_NIL)
using v1::type::operator<;
using v1::type::operator==;