This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++ pretty-printers vs. inspecting objects


On 26 July 2015 at 16:06, Avi Kivity wrote:
> libstdc++ pretty-printers are a life-saver when inspecting containers.
> However, they also hide information: the type of the element being inspected
> (can often be inferred by the user) and the address of the element (which
> cannot).
>
> Is there a way to add this information to the pretty-printers output?

In principle we can add anything, the difficulty is figuring out how
to present it clearly without cluttering or obscuring the output.

Suggestions for improving the printers are very welcome.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]