mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
Updated v2_0_cpp_variant (markdown)
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
## What is this?
|
||||
|
||||
msgpack-c doesn't have `boost::variant` adaptor. But `msgpack::type::variant` can contain any msgpack types. It is implemented using `boost::variant`. There are two variant types. One is value based `msgpack::type::variant`, the other is reference based `msgpack::type::variant_ref`.
|
||||
msgpack-c doesn't have `boost::variant` adaptor. But `msgpack::type::variant` can contain any msgpack types. It is implemented using `boost::variant`. There are two variant types. One is value based `msgpack::type::variant`, the other is reference based `msgpack::type::variant_ref`. When you use `msgpack::type::variant`, you need to define [MSGPACK_USE_BOOST](../v2_0_cpp_configure#msgpack_use_boost-since-120) macro.
|
||||
|
||||
## Type mapping
|
||||
|
||||
|
||||
Reference in New Issue
Block a user