Boost logo

Boost :

Subject: Re: [boost] [exception][mpl] Boost.Exception uses unqualified size_t
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2009-11-15 22:04:10


Peter Dimov wrote:
> Patrick Horgan wrote:
>> Andrey Semashev wrote:
>
>>> Or even better: boost/compatibility/cpp_c_headers/cstddef.
>
>> Why is that better? It includes stddef.h and adds a couple of usings.
>
> It's not. This header is intended to be used only on platforms that
> don't have <cstddef>, by adding cpp_c_headers to the include path, IIRC.

It is better because some native c* headers are missing some std
imports. Not that it is often the case for size_t, though.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk