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

            Bug ID: 127339
           Summary: GCC should allow using builtin type traits in mangled
                    names
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nikolasklauser at berlin dot de
  Target Milestone: ---

Currently GCC doesn't mangle the builtin type traits (`__is_const`,
`__remove_cvref` etc.). This is quite unfortunate, since the builtin traits
tend to be a lot faster to evaluate than the standard library traits. libstdc++
already makes use of the builtins extensively in places where they aren't
mangled for improved compile times, and it would be great to allow them in
mangled names as well. Clang already allows mangling them, in which case we use
them through aliases in libc++ instead of going through a class template
instantiation.

Reply via email to