bearophile wrote:
davidl:
why not make opDot some compile time stuff?
You mean run time.
No, he means compile time. The name becomes a template value parameter,
which is available at compile time.
this can be particular useful for COM
And GUIs, I guess. It smells of Object-C++, but the syntax is nicer.
But such runtime code must be not included into the executable if this feature
is nowhere used in the code. D executable are already quite big enough.
There's not necessarily any runtime code.
Bye,
bearophile