We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c41ccd3 commit cd361a1Copy full SHA for cd361a1
1 file changed
section4/msgpack.cpp
@@ -80,6 +80,23 @@ void case3()
80
cout << obj << endl;
81
}
82
83
+#if 0
84
+ cout << "lambda " << endl;
85
+ for(decltype(sbuf.size()) offset = 0;
86
+ offset != sbuf.size();){
87
+
88
+ auto handle = msgpack::unpack(
89
+ sbuf.data(), sbuf.size(), offset,
90
91
+ [](auto type, auto len, auto data)
92
+ {
93
+ cout << type << ":" << len << endl;
94
+ return true;
95
+ }
96
97
+ );
98
99
+#endif
100
101
102
int main()
0 commit comments