Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-07-17 21:30:04

"Robert Ramey" <ramey_at_[hidden]> wrote in message
> >Rene Rivera wrote:

> >I'm looking at this and one of the basic problems is that you seem
> >assume a variety of things are available in the global namespace,
> >specifically size_t and other std types. Those are easy to fix by
> >specifying std::size_t. But I do have some questions...
> >1. Is using an unqualified size_t your intention? And therefore
> >something else is broken?
> Wow - its amazing to me I could have come so far and not know that
> wasn't a built in type or macro - I think it used to be a macro
> Anyway, I'll qualify this with std::size_t and check that no other
> complain. If fact, now I can't understand why no other compiler
> since I never included <cstddef>

<Butting in...>

If you include <boost/config.hpp> before <cstddef> then size_t and
ptrdiff_t get put in namespace std for standard libraries which only
define them in the global namespace.


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