Hi,

In the C++ frontend, record_types maintain list(s) of the parameters
which were used to instantiate the type, one list for each "level" of
the instantiation.  I would like to know how to determine the list of
parameters that were used to instantiate "this" type e.g. in the case of
a type foo<int>::bar<long> I would like the tree_vec containing the type
"long".  Note that we can't always simply extract the last list of
parameters e.g. for the type foo<int>::baz the tree_vec required would
be empty or null whereas the tree_vec available has a single level for
"int".

Thanks,
-- 
Peter

Attachment: signature.asc
Description: Digital signature

Reply via email to