|
Boost : |
From: Darin Adler (darin_at_[hidden])
Date: 2002-01-21 03:21:37
On 1/21/02 12:15 AM, "s_krempp" <krempp_at_[hidden]> wrote:
> --- In boost_at_y..., Daryle Walker <darylew_at_m...> wrote:
>> The library currently being reviewed does a special form of printing.
>> Should it be placed in the boost::io namespace, like I'm doing in my
>> iostate.zip library?
>
> Good question, I was not at all sure what structure of namespace nesting I
> should use.
> Previously, I was simply putting a 'format' class inside namespace boost, and
> no more, so it was certainly fine.
> But since I added 'type_errors', that need to be in the same scope as the
> format class,
> I think I have to put the whole thing inside a boost::format namespace.
> (that's what I did)
>
> now I really don't know for sure, so I'm ready to hear what the policy is for
> this situation.
I don't think a nested namespace is needed for boost::format or
boost::bad_format_parameters or any name like that.
I don't think that putting format into a boost::io or boost::format
namespace would make things better.
-- Darin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk