[GCC-XML] Templates yet again.

Lemmih lemmih at gmail.com
Thu Jan 27 01:35:52 EST 2005


Greetings,

[general praise about the usability of GCCXML]

Would it be possible to remove template information from the name of
classes/structs and keep it as a list of type IDs (ala bases)?
Currently 'exampleClass<exampleClass2>' isn't associated with
'exampleClass2' ('exampleClass2' is omitted when using
'-fxml-start=exampleClass') unless it's used in 'exampleClass'. (eg.
'std::list<std::string>' results in a class with the name
'std::list<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >,std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >' but
'std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >' is _not_ instantiated.) Also, distinguishing
between types and values is hard if not impossible.

Is this information lost before it ever reaches GCCXML?

--
Friendly,
  Lemmih


More information about the gccxml mailing list