Updated v2_0_cpp_adaptor (markdown)

Takatoshi Kondo
2025-11-28 21:04:26 +09:00
parent f13c4b8627
commit bd7809a1b4
+1 -1
@@ -150,7 +150,7 @@ struct your_class : base1, base2 {
| MSGPACK_BASE_ARRAY | array |
| MSGPACK_BASE_MAP | map |
*4 When you define MSGPACK_USE_DEFINE_MAP, MSGPACK_BASE is adapted to array, otherwise adapted to map.
*4 When you define MSGPACK_USE_DEFINE_MAP, MSGPACK_BASE is map to array, otherwise adapted to adapted.
You must use MSGPACK_BASE with MSGPACK_DEFINE, MSGPACK_BASE_ARRAY with MSGPACK_DEFINE_ARRAY, or MSGPACK_BASE_MAP with MSGPACK_DEFINE_MAP. When you use MSGPACK_BASE_MAP, the key is the STR of the base class name.