mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
Updated v2_0_cpp_adaptor (markdown)
+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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user