This is the mail archive of the gcc@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]

"short pretty" names?


Is there any way to get (or construct) a name for a type which, in C++,
does not have all of the default template arguments expanded out?

Basically instead of seeing things like:
std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >

I'd like to get nice things like:
std::vector<std::basic_string<char> >

I imagine that this would also be very useful for making error messages
less scary.  :)

Is this implemented?  If not, does it seem feasible, and where should I
start looking if I wanted to do this?

Thanks,

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/


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