#define TRIQS_ARRAYS_ENFORCE_BOUNDCHECK #include using namespace triqs::gfs; using namespace triqs::arrays; #define TEST(X) std::cout << BOOST_PP_STRINGIZE((X)) << " ---> "<< (X) < #include int main() { double beta =1; auto G = gf{ {beta, Fermion}, {2,2} }; double x = 127; std::string s = triqs::serialize(x); std::cout << " s = "<< s<< std::endl; std::cout << triqs::deserialize(s) << std::endl; std::cout << triqs::deserialize(s) << std::endl; std::vector v; v.push_back("abc"); v.push_back("3"); std::cout << triqs::serialize(v)<< std::endl; }