Closed Julien-Blanc-tgcm closed 3 years ago
Good catch, thanks. I didn't want to use a long name because it's visible in the typeinfo of the descriptor list, but D
is obviously unsuitable. I'll probably change it to _desc_
as a compromise. Unfortunately I'm not allowed to use a reserved name such as _D
or __desc
here, otherwise it would have been ideal.
Should be fixed now.
The following code does not compile (g++ version 7-10, linux, -std=c++17 or gnu++14 for gcc7):
It seems that the “D” name is somehow used in describe internals (macros), and as such, reserved. Describe should use longer names, and ideally prefixed one, such as DESCRIBE_INTERNAL_D (and document this) to avoid name clashes.