Boost logo

Boost :

Subject: Re: [boost] [ann] Urdl - a library for downloading web content
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-06-18 03:51:02


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk