Bug ID: 84535
           Summary: std::thread constructor missing constraint on first
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot
          Reporter: redi at gcc dot
  Target Milestone: ---

#include <thread>

int main()
    static_assert(!std::is_constructible<std::thread, std::thread, int>::value,

This assertion fails. The standard requires the constructor to not participate
in overload resolution when the first argument is a std::thread.

Reply via email to