2 #ifndef vsl_pair_io_hxx_ 3 #define vsl_pair_io_hxx_ 16 template <
class S,
class T>
27 template <
class S,
class T>
37 template <
class S,
class T>
48 #undef VSL_PAIR_IO_INSTANTIATE 49 #define VSL_PAIR_IO_INSTANTIATE(S, T ) \ 50 template void vsl_print_summary(std::ostream& s, const std::pair<S, T >& v); \ 51 template void vsl_b_write(vsl_b_ostream& s, const std::pair<S, T > & v); \ 52 template void vsl_b_read(vsl_b_istream& s, std::pair<S, T > & v) 54 #endif // vsl_pair_io_hxx_ A binary output adaptor for any std::ostream.
void vsl_print_summary(std::ostream &os, const std::pair< S, T > &v)
Output a human readable summary to the stream.
void vsl_b_read(vsl_b_istream &s, std::pair< S, T > &v)
Read pair from binary stream.
An adaptor for any std::istream to make it suitable for binary input.
Set of functions, and objects to perform binary IO.
void vsl_b_write(vsl_b_ostream &s, const std::pair< S, T > &v)
Write pair to binary stream.
binary IO functions for std::pair<S, T>