From 8ee02cb93b43e008a1a6aaa1daaa7ecfdbab02fa Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Sat, 23 Oct 2021 13:59:11 +0900 Subject: [PATCH] Updated v2_0_cpp_adaptor (markdown) --- v2_0_cpp_adaptor.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/v2_0_cpp_adaptor.md b/v2_0_cpp_adaptor.md index cb01847..89bc3dc 100644 --- a/v2_0_cpp_adaptor.md +++ b/v2_0_cpp_adaptor.md @@ -384,6 +384,12 @@ class my_class { }; ``` +Before the version 4.0.3, you need to declare for object adaptor as follows: +```C++ + template + friend struct msgpack::MSGPACK_DEFAULT_API_NS::adaptor::object; +``` + You need to declare only the class template specializations that you defined.