[asio-users] endpoint and address string conversions
Brought to you by:
chris_kohlhoff
From: Arvid N. <c9...@cs...> - 2005-09-08 23:24:24
|
I was also thinking that maybe the address class should have an overload of the operator<<(std::ostream&, asio::address). This would make the type play nicely with boost::lexical_cast<std::string>() as well as being more easily streamed out. Maybe the endpoint types should have stream operators too, that would be handy, especially when debugging. To avoid having to include <iostream>, maybe the stream operators could be put in a separate header file (like boost.date_time does). -- Arvid Norberg |