[llvm-bugs] [Bug 43396] New: __is_fundamental does not work for nullptr_t
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Sep 21 10:43:23 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43396
Bug ID: 43396
Summary: __is_fundamental does not work for nullptr_t
Product: clang
Version: 9.0
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: z.zoelec2 at gmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
The __is_fundamental builtin doesn't work for nullptr_t. The following example
fails to compile:
static_assert(__is_fundamental(nullptr_t));
Standard wording: http://eel.is/c++draft/basic.fundamental#14
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190921/503df560/attachment.html>
More information about the llvm-bugs
mailing list