public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/96288] New: [DR 1734] __is_trivial and __is_tirivil_copyable fails for deleted members
@ 2020-07-22 16:10 roland at rschulz dot eu
  2024-06-18 19:42 ` [Bug c++/96288] [DR 1734] __is_trivial and __is_trivially_copyable " mpolacek at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: roland at rschulz dot eu @ 2020-07-22 16:10 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96288
           Summary: [DR 1734] __is_trivial and __is_tirivil_copyable fails
                    for deleted members
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland at rschulz dot eu
  Target Milestone: ---

https://godbolt.org/z/snjof8

The resolution of 1734 requires the class:
- has at least one non-deleted copy constructor, move constructor, copy
assignment operator, or move assignment operator, and
- has a trivial, non-deleted destructor

Therefore all 4 static-asserts should pass.

Same bug in LLVM with discussion of ABI impact:
https://bugs.llvm.org/show_bug.cgi?id=39050

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

* [Bug c++/96288] [DR 1734] __is_trivial and __is_trivially_copyable fails for deleted members
  2020-07-22 16:10 [Bug c++/96288] New: [DR 1734] __is_trivial and __is_tirivil_copyable fails for deleted members roland at rschulz dot eu
@ 2024-06-18 19:42 ` mpolacek at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2024-06-18 19:42 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2024-06-18

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

end of thread, other threads:[~2024-06-18 19:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-22 16:10 [Bug c++/96288] New: [DR 1734] __is_trivial and __is_tirivil_copyable fails for deleted members roland at rschulz dot eu
2024-06-18 19:42 ` [Bug c++/96288] [DR 1734] __is_trivial and __is_trivially_copyable " mpolacek 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).