33 #include <boost/cstdint.hpp>
34 #include <boost/format.hpp>
46 template <
typename Ch,
typename Tr>
47 std::basic_istream<Ch, Tr>&
operator>>(std::basic_istream<Ch, Tr>& stream,
50 std::basic_string<Ch, Tr> string;
56 }
else if (
string ==
"1") {
58 }
else if (
string ==
"auto") {
61 throw std::invalid_argument(boost::str(boost::format(
"Invalid server/client specification: %1%")
68 template <
typename Ch,
typename Tr>
69 std::basic_ostream<Ch, Tr>& operator<<(std::basic_ostream<Ch, Tr>& stream,