Closed pcanal closed 6 months ago
The problem extends to the specification of the underlying integer type, e.g.
enum A : int {};
TEnum::GetEnum("A")->GetUnderlyingType() // --> (EDataType) (kInt_t) : (int) 3
but
enum B : std::int32_t {};
TEnum::GetEnum("B")->GetUnderlyingType() // --> (EDataType) (kNumDataTypes) : (int) 23
Do you want to keep it as part of this issue or should I open a new one?
This should be enough.
We need to open a new issue for https://github.com/root-project/root/issues/12685#issuecomment-1630944070 it is: https://github.com/root-project/root/issues/15460
Currently if the parameter to
TEnum::GetEnums
ends in a typedef/alias, it can not find the enums. With the example:We get:
Where the two '0' indicates that the lookup failed.
This is seen in https://github.com/root-project/root/issues/10454 and holds up (per se) https://github.com/root-project/root/pull/11412