34 ifs_.open(path_name, std::ios_base::in);
40 ofs_.open(path_name, std::ios_base::out);
50 struct ofs_wrapper:
public std::ofstream {
51 typedef std::ofstream base;
55 ofs_wrapper & operator&(T & t) {
60 void write(uint8_t
const & arg) {
65 struct ifs_wrapper:
public std::ifstream {
66 typedef std::ifstream base;
70 ifs_wrapper & operator&(T & t) {
void serialize(Archive &ar, T &t)
Definition: serializer.hpp:95
void open_read(std::string const &path_name)
Definition: fio.hpp:33
fio_class & operator<<(T &t)
Definition: fio.hpp:24
archive_enum
Definition: archive_enum.hpp:14
struct ustd::endl_class endl
void close()
Definition: fio.hpp:45
void open_write(std::string const &path_name)
Definition: fio.hpp:39
fio_class & operator>>(T &t)
Definition: fio.hpp:29