12#ifndef SERIALIZATION_HPP_
13#define SERIALIZATION_HPP_
64#define OUTPUT_NEWLINE ""
65#define OUTPUT_SEPARATOR ""
67#define OUTPUT_NEWLINE "\n"
68#define OUTPUT_SEPARATOR " "
85std::ostream&
operator<<(std::ostream& out,
const std::vector<T> &v);
88std::istream&
operator>>(std::ostream& out, std::vector<T> &v);
90template<
typename T1,
typename T2>
91std::ostream&
operator<<(std::ostream& out,
const std::map<T1, T2> &m);
93template<
typename T1,
typename T2>
94std::istream&
operator>>(std::istream& in, std::map<T1, T2> &m);
97std::ostream&
operator<<(std::ostream& out,
const std::set<T> &
s);
104#include <libff/common/serialization.tcc>
void output_bool(std::ostream &out, const bool b)
T reserialize(const T &obj)
void consume_OUTPUT_NEWLINE(std::istream &in)
std::istream & operator>>(std::istream &in, alt_bn128_G1 &g)
void consume_OUTPUT_SEPARATOR(std::istream &in)
std::ostream & operator<<(std::ostream &out, const alt_bn128_G1 &g)
void input_bool(std::istream &in, bool &b)
void input_bool_vector(std::istream &in, std::vector< bool > &v)
void consume_newline(std::istream &in)
void output_bool_vector(std::ostream &out, const std::vector< bool > &v)
#define T(meth, val, expected)