public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/102257] New: call of overloaded 'tuple' is ambiguous
@ 2021-09-09 13:51 hewillk at gmail dot com
  2021-09-09 17:18 ` [Bug c++/102257] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hewillk at gmail dot com @ 2021-09-09 13:51 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-05-02  9:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-09 13:51 [Bug c++/102257] New: call of overloaded 'tuple' is ambiguous hewillk at gmail dot com
2021-09-09 17:18 ` [Bug c++/102257] " pinskia at gcc dot gnu.org
2021-09-09 20:34 ` pinskia at gcc dot gnu.org
2021-09-10  3:55 ` hewillk at gmail dot com
2021-09-14 15:31 ` ppalka at gcc dot gnu.org
2024-03-27 13:38 ` redi at gcc dot gnu.org
2024-03-27 13:39 ` redi at gcc dot gnu.org
2024-05-02  9:23 ` redi at gcc dot gnu.org
2024-05-02  9:28 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).