Boost logo

Boost :

From: David Bergman (davidb_at_[hidden])
Date: 2004-02-20 16:49:38

Thorsten wrote:

> I must admit that I haven't used quilified names that much
> since I prefer a using namespace XXX in my .cpp files.
> However, when overloaded versions cannot co-exist (because of
> ambiguity), I kind of like the idea of aliasing.
> I think with names like
> namespace str = boost::algorithm::string; namespace cont =
> boost::algorithm::container;
> One can always find the name that seems reasonable readable
> while still reasonable short.

When I read someone's (my own or someone's else's code) I want to avoid
going back (or too - horror - remember...) namespace aliasing from the top
of the file. I.e., I want to be able to correctly read the types involved in
a function.

And, as Peter Dimov said (I think...), if you make a de facto standard of
aliasing certain namespaces, such as "filesystem" into "fs", why not
incorporate that scheme de legio...


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