
Christopher Kohlhoff skrev:
Thorsten Ottosen wrote:
The Url class has operators like ==, != and <. May I suggets you hass hash_value( const url& ) too.
Will do.
I'm not a fan of short names. Especially
http::errc::errc_t
would be clearer IMO as
http::error_codes::error_code
or something like that.
This is chosen for consistency with the c++0x standard library, which has the error constants in std::errc::* (and obviously Boost.System uses boost::system::errc). It seems reasonable to me to use "errc" as an idiomatic name for scoping error constants in any library that uses std::error_code and friends. What do you think?
I guess if C++0x will use it, then it is better to stick with it. I'm not a fan of it though :-) I mean, where does it end? -Thorsten