Updated v2_0_cpp_adaptor (markdown)

Takatoshi Kondo
2021-10-23 13:59:11 +09:00
parent bc9f885a7f
commit 8ee02cb93b
+6
@@ -384,6 +384,12 @@ class my_class {
};
```
Before the version 4.0.3, you need to declare for object adaptor as follows:
```C++
template <typename T, typename Enabler, typename Enabler2>
friend struct msgpack::MSGPACK_DEFAULT_API_NS::adaptor::object;
```
You need to declare only the class template specializations that you defined.