From: Grzegorz J. <ja...@he...> - 2004-04-26 01:01:55
|
On Fri, 23 Apr 2004, Russell Balest wrote: > > Given: > > class Foo { > std::vector<int> bars; > } > > I was expecting FullTypeName() on the bars member to give me > "std::vector<int>". > Instead it gives me: "std::" > > Is that a bug or by design? Bug. > Is there any way I can get the full typename and parse it myself into [ > [std::] [vector] [int] ] ? Fixing the bug. First place to look at is if TypeInfo::encode. It is a mangled type name, do 'grep "This encoding" *.cc' to find the description of the manging scheme. If TypeInfo::encode is buggy, have a look at the place in parser where the node is parsed, AFAIR the mangling is worked out there. BR Grzegorz > > Thanks, > Russell Balest > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek > For a limited time only, get FREE Ground shipping on all orders of $35 > or more. Hurry up and shop folks, this offer expires April 30th! > http://www.thinkgeek.com/freeshipping/?cpg=12297 > _______________________________________________ > Opencxx-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opencxx-users > > ################################################################## # Grzegorz Jakacki Huada Electronic Design # # Senior Engineer, CAD Dept. 1 Gaojiayuan, Chaoyang # # tel. +86-10-64365577 x2074 Beijing 100015, China # # Copyright (C) 2004 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |