Updated v2_0_cpp_adaptor (markdown)

Takatoshi Kondo
2022-05-24 23:51:01 +09:00
parent 2d6720a31d
commit 4570645e64
+2 -2
@@ -319,7 +319,7 @@ struct object_with_zone<my_class> {
} // namespace msgpack
```
https://github.com/msgpack/msgpack-c/blob/master/example/cpp03/class_non_intrusive.cpp
https://github.com/msgpack/msgpack-c/blob/cpp_master/example/cpp03/class_non_intrusive.cpp
When you use `msgpack::object::as` member function template in `convert` class template specilization, , temporary objects are created.
@@ -460,4 +460,4 @@ You need to use MSGPACK_ADD_ENUM in the global namespace.
The macro MSGPACK_DEFINE provides [packing](v2_0_cpp_packer#packing-enums), converting to msgpack object with or without zone, and converting to your_enum from msgpack::object functionalities. your_enum is packed/converted as msgpack positive/negative integer.
See an [example](https://github.com/msgpack/msgpack-c/blob/master/example/cpp03/enum.cpp).
See an [example](https://github.com/msgpack/msgpack-c/blob/cpp_master/example/cpp03/enum.cpp).