Max Samukha schrieb:
So it is a tuple although the docs tell us it's an array?


Yeah, __traits returns expressions of various types depending on the
Id. In case of getVirtualFunctions, it's a tuple expression. You may
want to look through traits.c in dmd sources to see what's going on.


So the docs are incorrect:
"getVirtualFunctions
The result is an array of the virtual overloads of that function."

Reply via email to