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

--- Comment #7 from Drea Pinski <pinskia at gcc dot gnu.org> ---
std::remove_cv_t is done as:
  template<typename _Tp>
    struct remove_cv
    { using type = __remove_cv(_Tp); };

  template<typename _Tp>
    using remove_cv_t = typename remove_cv<_Tp>::type;


That is just as fast as what your company is doing really and GCC does not
mangle __remove_cv so it won't work where you need to have __remove_cv mangled.
 This is why GCC uses using in a struct here for the mangling part.

I think your company is micro-optimizing things too much.

Reply via email to