[Bug c++/80682] New: __is_trivially_constructible(void, int) returns true.

eric at efcs dot ca gcc-bugzilla@gcc.gnu.org
Mon May 8 23:45:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80682

            Bug ID: 80682
           Summary: __is_trivially_constructible(void, int) returns true.
           Product: gcc
           Version: 7.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: eric at efcs dot ca
  Target Milestone: ---

Reproducer:

// g++ -std=c++11 -fsyntax-only
static_assert(!__is_trivially_constructible(void, int), "");

This seems blatantly incorrect.


More information about the Gcc-bugs mailing list