|
Boost : |
From: Douglas Paul Gregor (gregod_at_[hidden])
Date: 2004-02-18 12:28:07
On Wed, 18 Feb 2004, Stefan Slapeta wrote:
> Pavol Droba wrote:
>
> > It is not really reasonable to await from
> > a user to always type boost::algorithm::string::trim.
> >
>
> Maybe it could help a little bit to replace 'algorithm' by 'algo' and
> 'string' by 'str'.
>
> IMHO, also shorter namespaces like 'boost::filesystem' have the problem
> of beeing too long to be used on every access. Long typenames like
> boost::filesystem::directory_iterator have a very high capability to
> make the code unreadable very quickly.
What's wrong with
namespace fs = boost::filesystem;
?
It's not like a template, where we don't have a good aliasing mechanism.
Doug
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk