Subject: Re: [boost] [exception][mpl] Boost.Exception uses unqualified size_t
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2009-11-15 07:14:45
Robert Jones wrote:
> On Sun, Nov 15, 2009 at 9:32 AM, Andrey Semashev
>> joel wrote:
>>> Emil Dotchevski wrote:
>>>> I suspect however that we would have had the same issue even if
>>>> object_hex_dump.hpp did #include <stdlib.h>. Isn't it too risky for
>>>> mpl to define its own size_t?
>>> Maybe it's a naive question but, isn't it <cstddef> that should be
>>> included to get size_t
>>> in std ?
>> Or even better: boost/compatibility/cpp_c_headers/cstddef.
> Is there anywhere where all this wisdom is written down - a kind of
> "Boost Common Knowledge" page(s)?
What wisdom do you mean? Boost.Compatibility is documented here:
As for the size_t type, I believe, the Standard says which header should
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk