You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C++ header-only msgpack library using kiss principle
6
+
C++ header-only msgpack library
7
7
8
8
## Example
9
9
@@ -21,13 +21,13 @@ std::vector<char> buf;
21
21
// Creates a lambda which captures `buf` by reference and appends data to it when invoked
22
22
auto out = sink(buf);
23
23
24
-
// The first argument can be any function object with signature void(const char* data, size_t len)
24
+
// The first argument can be any function object with signature void(const char* data, size_t len) (when C++20 is used, it satisfies the sink_type concept)
25
25
serialize(out, a);
26
26
27
27
// Creates a mutable lambda which captures `buf` by reference and reads data from it when invoked
28
28
auto in = source(buf);
29
29
30
-
// The first argument can be any function object with signature void(char* data, size_t len)
30
+
// The first argument can be any function object with signature void(char* data, size_t len) (when C++20 is used, it satisfies the source_type concept)
0 commit comments