Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-21 08:14:39

Hi Samuel,

My preferred approach is that generalized utilities go directly in boost and
domain-specific libraries go in a sub-namespace. Like tuples, I think format
straddles the line: some commonly-used types and functions should probably
be placed directly in boost, while seldom-used helper objects maybe ought to
be placed in a sub-namespace. We had extensive discussions about how to do
this for tuples; the relevant threads are those beginning with the following


----- Original Message -----
From: "s_krempp" <krempp_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Monday, January 21, 2002 3:15 AM
Subject: [boost] Re: Quick question about format2

> --- 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
> > 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.
> --
> Sam
> Info: Send unsubscribe requests to:
> Your use of Yahoo! Groups is subject to

Boost list run by bdawes at, gregod at, cpdaniel at, john at