Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 1999-10-08 20:13:40

> 2) boost/config.hpp #defines (for non-conforming compilers only)
> BOOST_NO_STDC_NAMESPACE, period. Then it is up to individual boost
> headers (if they wish) to supply the workaround:
> #include <boost/config.hpp>
> #include <cstdlib>
> # namespace std { using ::size_t; using ::ptrdiff_t; }
> #endif
> These techniques can be combined; (1) could be used for the very
> commonly used headers such as cstdlib, cstddef, and maybe cstring,
> while (2) could be used for the other <c...> headers.
> Comments?

I haven't been following this discussion, but importing names into std
strikes me as a bit regressive, especially when we have our own namespaces
which we can use.


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