std::nullptr_t (3) - Linux Manuals
std::nullptr_t: std::nullptr_t
NAME
std::nullptr_t - std::nullptr_t
Synopsis
Defined in header <cstddef>
typedef decltype(nullptr) nullptr_t; (since C++11)
std::nullptr_t is the type of the null pointer literal, nullptr. It is a distinct type that is not itself a pointer type or a pointer to member type.
Example
If two or more overloads accept different pointer types, an overload for std::nullptr_t is necessary to accept a null pointer argument.
// Run this code
Output:
See also
nullptr the pointer literal which specifies a null pointer value (C++11)
NULL (macro constant)
is_null_pointer checks if a type is std::nullptr_t
(C++14)