nullptr

From RAD Studio
Jump to: navigation, search

Go Up to Keywords, Alphabetical Listing Index


Category

Reserved Words (C++)

Syntax

nullptr

Description

Represents a null pointer. nullptr is a reserved word representing a null pointer constant, and can be assigned to any type of pointer.

For more information, see: Null pointer constant.

Note: When using the keywords specific to C++11, such as nullptr, noexcept, and so on (see http://en.cppreference.com/w/cpp/keyword for complete list), RAD Studio IDE always recognizes these keywords, but the C++ previous-generation compilers (BCC32 and BCCOSX) return a compilation error. Please note that only Clang-enhanced C++ Compilers support the C++11 standard.

See Also