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

            Bug ID: 102257
           Summary: call of overloaded 'tuple' is ambiguous
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

The following code failed since gcc-11, which seems to be a language bug.

#include <tuple>
#include <string>

int main() {
  std::tuple<std::string, int> t{{}, 0};
}

https://godbolt.org/z/qMfhxoss3

Reply via email to