mirror of
https://github.com/USCiLab/cereal.git
synced 2025-10-18 01:45:52 +02:00
working on pointer support
This commit is contained in:
11
test.cpp
11
test.cpp
@@ -1,6 +1,9 @@
|
||||
#include "cereal.hpp"
|
||||
#include "binary_archive.hpp"
|
||||
#include "json_archive.hpp"
|
||||
|
||||
#include <cereal/cereal.hpp>
|
||||
#include <cereal/binary_archive/binary_archive.hpp>
|
||||
#include <cereal/binary_archive/string.hpp>
|
||||
#include <cereal/json_archive/json_archive.hpp>
|
||||
|
||||
#include <cxxabi.h>
|
||||
#include <sstream>
|
||||
#include <fstream>
|
||||
@@ -102,7 +105,6 @@ struct Everything
|
||||
t4.a == o.t4.a &&
|
||||
s == o.s;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
// ######################################################################
|
||||
@@ -138,6 +140,7 @@ int main()
|
||||
std::string hello = "Hello, World!";
|
||||
json & CEREAL_NVP(hello);
|
||||
//json & CEREAL_NVP(e_out); <<< Need to figure out how to recurse!
|
||||
//
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user