
15 Oct
2009
15 Oct
'09
7:49 a.m.
Hello. I would like to know if it's possible to obtain the base type from this expression: struct MyStruct { string field1; }; decltype(&MyStruct::field1) is a pointer to member. I would like to obtain type string instead, removing the pointer to member. Is it possible? Thanks.