Daily bit(e) of C++ | std::type_index, boost::type_index
Daily bit(e) of C++ #201, Mapping std::type_info to human readable type names using C++11 std::type_index and boost::type_index.
The std::type_info object returned by the typeid operator does not provide access to the human-readable name of the type.
We can mitigate this issue manually by relying on the C++11 std::type_index and manually tracking the mapping between std::type_info and any desired information.
Alternatively, we can rely on the boost::type_index library, which provides additional features.