From d2c04bc3b9bf0b062f5fa03191f5bef396e63c9e Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Fri, 25 Aug 2017 13:39:15 +0900 Subject: [PATCH] Updated v2_0_cpp_variant (markdown) --- v2_0_cpp_variant.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2_0_cpp_variant.md b/v2_0_cpp_variant.md index 0aaf4bb..b7c38e8 100644 --- a/v2_0_cpp_variant.md +++ b/v2_0_cpp_variant.md @@ -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