Should I include stddef.h or cstddef for size_t

前端 未结 5 1668
暗喜
暗喜 2020-12-03 06:39

When I want to use size_t in C++, should I include or ? I have heard several people saying that

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-03 07:43

    is Standard, and is not. That's pretty much the end of that. It's not going to be deprecated any time soon because there's a bunch of programs that depend on it.

提交回复
热议问题