Share via


is_null_pointer Class

 

The latest version of this topic can be found at is_null_pointer Class.

Tests if type is std::nullptr_t.

Syntax

template <class T>
struct is_null_pointer;

Parameters

T
The type to query.

Remarks

An instance of the type predicate holds true if the type T is std::nullptr_t, otherwise it holds false.

Requirements

Header: <type_traits>

Namespace: std

See Also

<type_traits>