public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* [GSoC] Conflicted Built-in Trait Name
@ 2023-03-25  7:53 Ken Matsui
  2023-03-25 12:23 ` Roy Jacobson
  2023-03-25 12:38 ` Marc Glisse
  0 siblings, 2 replies; 18+ messages in thread
From: Ken Matsui @ 2023-03-25  7:53 UTC (permalink / raw)
  To: gcc; +Cc: libstdc++

Hi,

I am working on the GSoC project, "C++: Implement compiler built-in
traits for the standard library traits".

Built-in trait naming simply adds two underscores (__) to the original
trait name. However, the same names are already in use for some
built-in traits, such as is_void, is_pointer, and is_signed.

For example, __is_void is used in the following files:

* gcc/testsuite/g++.dg/tm/pr46567.C
* libstdc++-v3/include/bits/cpp_type_traits.h

In this case, are we supposed to change the existing same name in the
code to something like ____is_void (four underscores)? Or is it better
to break the naming convention of built-in traits like
__is_void_builtin?

Sincerely,
Ken Matsui

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

end of thread, other threads:[~2023-03-30 18:44 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-25  7:53 [GSoC] Conflicted Built-in Trait Name Ken Matsui
2023-03-25 12:23 ` Roy Jacobson
2023-03-27 21:58   ` Jonathan Wakely
2023-03-27 22:48     ` Ken Matsui
2023-03-25 12:38 ` Marc Glisse
2023-03-26  2:01   ` Ken Matsui
2023-03-27 17:33     ` François Dumont
2023-03-27 20:16       ` Ken Matsui
2023-03-27 21:43         ` Jonathan Wakely
2023-03-27 21:49           ` Jonathan Wakely
2023-03-27 21:55             ` Ken Matsui
2023-03-28 21:29       ` Ken Matsui
2023-03-28 23:24         ` Jonathan Wakely
2023-03-28 23:33           ` Ken Matsui
2023-03-30  5:11             ` François Dumont
2023-03-30  8:33               ` Ken Matsui
2023-03-30 12:23                 ` Jonathan Wakely
2023-03-30 18:44                   ` Ken Matsui

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).