public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/106784] New: Add __is_convertible built-in
@ 2022-08-31 10:41 redi at gcc dot gnu.org
  2022-08-31 13:38 ` [Bug c++/106784] " mpolacek at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: redi at gcc dot gnu.org @ 2022-08-31 10:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106784
           Summary: Add __is_convertible built-in
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

This is supported by Clang already, and would be very beneficial for libstdc++.
The std::is_convertible (and is_nothrow_convertible) type trait is used widely
in the std::lib, but is currently implemented in pure C++ as a class template.
A built-in would improve compile times.

We already have __is_constructible and __is_assignable, and the nothrow forms
of those.

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

end of thread, other threads:[~2023-04-29 17:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-31 10:41 [Bug c++/106784] New: Add __is_convertible built-in redi at gcc dot gnu.org
2022-08-31 13:38 ` [Bug c++/106784] " mpolacek at gcc dot gnu.org
2022-08-31 14:05 ` mpolacek at gcc dot gnu.org
2022-09-01 16:26 ` redi at gcc dot gnu.org
2022-09-20 21:24 ` mpolacek at gcc dot gnu.org
2022-09-21  0:02 ` redi at gcc dot gnu.org
2022-09-23 16:17 ` cvs-commit at gcc dot gnu.org
2022-09-23 16:18 ` mpolacek at gcc dot gnu.org
2022-09-24 14:10 ` redi at gcc dot gnu.org
2022-09-26 16:42 ` cvs-commit at gcc dot gnu.org
2023-04-29 17:44 ` pinskia 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).