[Bug 287510] std::is_null_pointer is missing with -std=c++11

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 13 Jun 2025 20:27:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287510

Dimitry Andric <dim@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dim@FreeBSD.org

--- Comment #1 from Dimitry Andric <dim@FreeBSD.org> ---
It seems libc++ disagrees that it was in C++11, and indeed I cannot find it in
my copy of the C++11 standard.
https://en.cppreference.com/w/cpp/types/is_null_pointer.html#Notes also
mentions:

> In libc++, std::is_null_pointer is not available in C++11 mode. 

https://cplusplus.github.io/LWG/issue2247 talks about this, i.e. it seems to
have been reported as a defect in C++11, and then submitted for inclusion in
C++14.

-- 
You are receiving this mail because:
You are the assignee for the bug.