Boost logo

Boost :

From: Valentin Bonnard (Bonnard.V_at_[hidden])
Date: 1999-09-29 03:07:38

John Maddock wrote:

> I wonder if it is worth while having a standard policy to deal with the old
> C style headers, the problem is that while most current compilers ship with
> the <cname> header variants, not all of them place the contents in
> namespace std. There would appear to be three workarounds:
> 1) Always use the <name.h> approach - the primary advantage is that this
> always works, but pollutes the global namespace.

That's bugware. And bugware is a Bad Thing.

On the system where the library isn't in std (and
only those), if you #define std /*nothing*/, then
std::printf works fine.

Valentin Bonnard

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