mirror of
https://github.com/fraillt/bitsery.git
synced 2026-08-15 07:39:51 +00:00
new stream adapter, and lots of refactorings
This commit is contained in:
@@ -66,11 +66,11 @@ TEST(SerializeExtensionStdSet, FunctionSyntax) {
|
||||
SerializationContext ctx1;
|
||||
std::unordered_multiset<int32_t> t1{54,-484,841,79};
|
||||
std::unordered_multiset<int32_t> r1{};
|
||||
auto ser = ctx1.createSerializer();
|
||||
auto& ser = ctx1.createSerializer();
|
||||
ser.ext(t1, StdSet{10}, [&ser](int32_t& v) {
|
||||
ser.value4b(v);
|
||||
});
|
||||
auto des = ctx1.createDeserializer();
|
||||
auto& des = ctx1.createDeserializer();
|
||||
des.ext(r1, StdSet{10}, [&des](int32_t& v) {
|
||||
des.value4b(v);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user