Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] CDT version of "decltype(expression)"

Hi,
   Is there a possibility fo query for the decltype of an _expression_, which is selected. Something in the lines of "a[10].b;" where a is an object of a struct which has one field called "b" of type float.


Struct A
{
 float b;};

A aobj[1000];


a[10].b; which is a field reference and the decltype of this is expressioni s "float". Can we use Ibinding to programatically find this out.



Back to the top