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

            Bug ID: 122346
           Summary: <type_traits>: is_constructible_v gives wrong result
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

#include <type_traits>
#include <string>
struct S { operator const char*() const; };
static_assert(std::is_constructible_v<const std::string&, S>);

GCC accepts the above.

Reply via email to