public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/114147] New: tuple allocator-extended constructor requires non-explicit default constructor
@ 2024-02-28 10:39 victor.dyachenko at protonmail dot com
  2024-02-28 10:48 ` [Bug libstdc++/114147] " victor.dyachenko at protonmail dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: victor.dyachenko at protonmail dot com @ 2024-02-28 10:39 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114147
           Summary: tuple allocator-extended constructor requires
                    non-explicit default constructor
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: victor.dyachenko at protonmail dot com
  Target Milestone: ---

GCC 10.1 fails to compile this code (GCC 9.1 is OK):

#include <tuple>
#include <memory>

struct C {
    explicit C() = default;
};

int main()
{
    std::tuple<C, int> t(std::allocator_arg, std::allocator<char>{});
}

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

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

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-28 10:39 [Bug libstdc++/114147] New: tuple allocator-extended constructor requires non-explicit default constructor victor.dyachenko at protonmail dot com
2024-02-28 10:48 ` [Bug libstdc++/114147] " victor.dyachenko at protonmail dot com
2024-02-28 11:18 ` victor.dyachenko at protonmail dot com
2024-02-28 11:21 ` [Bug libstdc++/114147] [10/11/12/13 Regression] " redi at gcc dot gnu.org
2024-02-28 13:49 ` [Bug libstdc++/114147] [11/12/13 " victor.dyachenko at protonmail dot com
2024-02-28 14:31 ` [Bug libstdc++/114147] [11/12/13/14 " redi at gcc dot gnu.org
2024-02-29 20:38 ` redi at gcc dot gnu.org
2024-03-01 15:12 ` redi at gcc dot gnu.org
2024-03-04 20:25 ` cvs-commit at gcc dot gnu.org
2024-03-16 10:19 ` [Bug libstdc++/114147] [11/12/13 " cvs-commit at gcc dot gnu.org
2024-03-18 14:03 ` [Bug libstdc++/114147] [11/12 " cvs-commit at gcc dot gnu.org
2024-03-18 14:14 ` [Bug libstdc++/114147] [11 " redi at gcc dot gnu.org
2024-05-02 10:53 ` cvs-commit at gcc dot gnu.org
2024-05-02 10:54 ` 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).