
16 Nov
2009
16 Nov
'09
3:04 a.m.
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.