This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: list of "canonical" typedefs?


>>>>> "Jonathan" == Jonathan Wakely <jwakely.gcc@gmail.com> writes:

Tom> What other ones are there?

Jonathan> See below for some more.

Thanks.

Jonathan> Would this only apply to typedefs?

Jonathan> Because it would also be useful to ignore template parameters that
Jonathan> have their default values, e.g. print std::vector<A> instead of
Jonathan> std::vector<A , std::allocator<A>>, and std::map<A, B> instead of
Jonathan> std::map<A, B, std::less<A>, std::allocator<std::pair<const A, B>>>

This needs an extension to DWARF.  Right now there's no way for gdb to
get this information.  I filed this as a gcc feature request a while
ago:

    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49090

I hope someone will get to it eventually.  When it is implemented, I'll
implement the gdb side.

Tom


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