Boost logo

Boost :

Subject: Re: [boost] Namespace for a Boost Hashing Library
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2010-05-11 11:34:21


On 11 May 2010 05:40, Phil Richards <news_at_[hidden]> wrote:
>
> What is the "string_algo precedent"?  The string algorithms are in
> headers under boost/algorithm/string/, and live in namespace
> boost::algorithm (but are also pulled into namespace boost).
>

Ah, my mistake. I just saw it in the URL and assumed it meant
something: http://www.boost.org/doc/html/string_algo.html

>
> If the name "algorithm" is going to be in the namespace at all, wouldn't
> it make more sense to put it under boost::algorithm (either directly, or
> as a nested namespace)?
>

That's a good point. The only quibble I'd have is that
boost::algorithm::hash::digest looks like a verb, and I
do need the one noun.


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