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

songb432 at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WONTFIX                     |FIXED

--- Comment #10 from songb432 at gmail dot com ---
(In reply to Jakub Jelinek from comment #9)
> See what I wrote, you can just write
>   return some_meta_function(remove_cv(^^some_dependent_type));
> That is fast and required to work by the standard.

You're right! I've just tested, meta::remove_cv is as fast as __remove_cv on
GCC. (PS: I always write two versions, one using meta::, one using alias and
builtin, just in case that future release of Clang with reflection support has
a different situation.)

Reply via email to