In the following code, hovering "type_info" outside of static_assert() displays info about this class. However, the same does not work when hovering "type_info" inside static_assert(). ===== #include <typeinfo> std::type_info *x; static_assert(sizeof(std::type_info) == 16, "Size of type_info is not 16"); Reproducible: Always
Confirmed.