I have a function that extracts properties from a type, using pygccxml.declarations.type_traits
For a simple type, it does nothing, and the type name is unchanged. All is well here:
***** type traits for '::uint64_t'
*** > return ('uint64_t', False, 0, False)
In the following case, I call type_traits.remove_const and type_traits.remove_reference, and the resulting type then appears different:
***** type traits for '::uint64_t const &'
*** > return ('long unsigned int', True, 0, True)
Yes, I know that in this system "long unsigned int" is the same as uint64_t. But I would rather work with uint64_t, due to LLP/LP platform differences.
Any hints on how to work around this?
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert