Namespaces
Variants
Views
Actions

Talk:cpp/types/remove cv

From cppreference.com

Do not mislead the users, because the names of types got by using typeid::name() aren't standardized, and each compiler can output them as it pleases.

That output was from Visual Studio, chosen for its human-readable typeid names. If you have a more portable yet easy-to-read idea, feel free to change the example. I considered static_assert/is_same but it got a bit wordy. --Cubbi 15:21, 27 October 2011 (PDT)

Like this?