|
Boost : |
Subject: Re: [boost] [review] string convert
From: Jeremy Maitin-Shepard (jeremy_at_[hidden])
Date: 2011-05-02 13:40:51
On 05/02/2011 08:26 AM, Gordon Woodhull wrote:
> [stuff involving various tag_ names]
One mistake made in a lot of Boost documentation and discussion of Boost
interfaces is the omission of namespace qualification, under the
assumption that appropriate using declarations have been made. However,
in practice someone is unlikely to make those using declarations, and in
any case it turns a one line call to convert into a potentially 3 or
more using declarations followed by a call to convert. Thus, I propose
that any time a code sample is provided, it be in a form that
legitimately might occur in an actual program, so that it is apparent
whether the namespace qualification is going to render an apparently
nice interface into an excessively verbose one.
You propose that a bunch of tag_ names be used, but in practice they
would likely have to be something like boost::convert::tag_, which would
substantially reduce the benefits of any such change.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk