Is there a way to view std::maps without having to view the intermediate pair first?

When viewing an std::map in CLion it is shown as follows, breaking down the key and value with the indices of the underlying pair:

(notice the "first" and "second" elements and the “0” index element)

Is there a way to have it displayed as in Visual Studio Code, where the elements are indexed by their key?

It helps reduce visual clutter and provides better navigation.

0

Please sign in to leave a comment.