default renamed to substitution and covered with tests

This commit is contained in:
fraillt
2017-02-20 15:40:30 +02:00
parent 8d1f860c8f
commit 7964679ec2
17 changed files with 1358 additions and 1130 deletions

View File

@@ -23,7 +23,7 @@ SERIALIZE(MyStruct) {
return s.
value(o.i).
value(o.e).
container(o.fs);
container(o.fs, 100);
}
void print(const char* msg, const MyStruct& v) {
@@ -36,6 +36,8 @@ void print(const char* msg, const MyStruct& v) {
std::cout << std::endl << std::endl;
}
using namespace bitsery;
int main() {
//set some random data
MyStruct data{};