Updated v2_0_cpp_variant (markdown)

Takatoshi Kondo
2017-08-25 13:39:15 +09:00
parent a1a6f13147
commit d2c04bc3b9
+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