return 64 bit integer from read_int

This commit is contained in:
Johannes Kapfhammer 2019-10-12 11:19:34 +02:00
parent a217eec176
commit 4f04ebcedf
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ std::tuple<T1, T2, T3, Ts...> read() {
return std::tuple<T1, T2, T3, Ts...>{read<T1>(), read<T2>(), read<T3>(), read<Ts>()...}; return std::tuple<T1, T2, T3, Ts...>{read<T1>(), read<T2>(), read<T3>(), read<Ts>()...};
} }
int read_int() { return read<int>(); } int64_t read_int() { return read<int64_t>(); }
char read_char() { return read<char>(); } char read_char() { return read<char>(); }
double read_double() { return read<double>(); } double read_double() { return read<double>(); }
std::string read_string() { return read<std::string>(); } std::string read_string() { return read<std::string>(); }