hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.5K
active users

Šimon Tóth

While useful, the std::type_info object returned by the typeid operator does not provide access to a human-readable name.

We can use the C++11 std::type_index and manually track the mapping between std::type_info and desired information.
Alternatively, we can use the boost::type_index library with additional features.

std::type_index: compiler-explorer.com/z/f1czz5
boost::type_index: compiler-explorer.com/z/hG8avb