This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
"short pretty" names?
- From: Chris Lattner <sabre at nondot dot org>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 29 Aug 2003 09:53:08 -0500 (CDT)
- Subject: "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/