diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2020-01-08 08:56:19 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2020-01-13 08:24:44 -0800 |
commit | ca62563df341786d1d1809a037d8b592924e78c4 (patch) | |
tree | ceed2c69361857a6c44cfc33aec8c99c8782dab0 /src/randomenv.h | |
parent | e8e79958a7b2a0bf1b02adcce9f4d811eac37dfc (diff) |
Add a generic approach for (de)serialization of objects using code in other classes
This adds the (internal) Wrapper class, and the Using function that uses it. Given
a class F that implements Ser(stream, const object&) and Unser(stream, object&)
functions, this permits writing e.g. READWRITE(Using<F>(object)).
Diffstat (limited to 'src/randomenv.h')
0 files changed, 0 insertions, 0 deletions