mirror of
https://github.com/fraillt/bitsery.git
synced 2026-06-12 10:13:55 +00:00
default renamed to substitution and covered with tests
This commit is contained in:
@@ -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{};
|
||||
|
||||
Reference in New Issue
Block a user