Should I always include stddef.h if I use sizeof and size_t

Posted by yCalleecharan on Stack Overflow See other posts from Stack Overflow or by yCalleecharan
Published on 2010-04-09T05:17:36Z Indexed on 2010/04/09 5:33 UTC
Read the original article Hit count: 145

Filed under:
|
|

Hi,

if I'm using the sizeof operator and making use of size_t in my code, do I have necessarily have to include stddef.h? I haven't included stddef.h, and my code compiles without warning with both MVS2008 and with Borland C++ BuilderX.

Thanks a lot...

© Stack Overflow or respective owner

Related posts about sizeof

Related posts about size-t