64,648
社区成员
发帖
与我相关
我的任务
分享
Re nullptr: It must be copyable, throwable, and passable through varargs.
• Re the type of nullptr: It should be named, and be a POD type. Named variables
of this type are allowed. reinterpret_cast to and from this type is allowed. It is
both a pointer type and a pointer-to-member type; i.e., it matches both a T* and a
T::* partial specialization. If it matches two partial specializations, you have an
ambiguity.
• Re the name of the type of nullptr: nullptr_t is introduced as a typedef for
decltype(nullptr).
In addition, this paper includes proposed wording for the feature.