Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-09-14 07:00:26

Gennaro Prota <gennaro_prota_at_[hidden]> writes:

> On Wed, 13 Sep 2006 22:00:09 +0200, Thorsten Ottosen
> <thorsten.ottosen_at_[hidden]> wrote:
>>What is the problem with an unnamed namespace in a header anyway? Is it
>>illegal according to the standard?
> Thorsten, this is not addressed to you, but I find shameful that so
> many boosters don't know this C++ 101.

Now, now, Genny. I don't recall anyone ever talking about the problem
until I raised it a year or two ago. That's surely not enough time to
make it into the entry level C++ courses. I doubt it's even reached
mainstream Herb-Sutter-level (advanced) dissemination yet.

> Especially so when you consider the arrogance with which many of
> them act (there are at least four or five egos here who behave as if
> they were the absolute source of computer science knowledge).

<clears throat loudly>

> FWIW, I added the check to the inspect
> tool. It was aimed at fixing one particular bad practice in boost
> code, but it really is like a drop in the ocean, so feel free to
> remove it (certainly it should if nobody understands what is it for).

That would be a bad idea, IMO.

Dave Abrahams
Boost Consulting

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