[cfe-dev] [libc++abi] use of <stddef.h> vs. <cstddef> etc.

Florian Kutscherauer florian.kutscherauer at gmx.at
Mon Oct 14 13:34:40 PDT 2013


Dear developers,


I'm new to LLVM, so please don't bite off my head if this is a dumb 
question.

I've noticed that some of the C++ files (both headers and bodies) 
include C-headers, like <stddef.h>, <assert.h> etc., while others use 
the corresponding C++-headers, like <cstddef>, <cassert>, and so on.

So, I was wondering the reason for that might be:  Is this just out of 
habit and custom, or is there more to it?


Best regards,

Flo.



More information about the cfe-dev mailing list