Because you cannot control third party code.
Maybe I am mistaken and with std.variant together with compile-time
reflection,
it is possible to cover most use cases that make sense, but I am not 100%
sure of it.
--
Paulo
"Walter Bright" wrote in message news:jmhir1$16nn$1...@digitalmars.com...
On 4/16/2012 9:40 AM, Jacob Carlborg wrote:
Regardless of how the runtime reflection is generated, by a library or the
compiler, it needs to be available to all types.
Why?
(I can see the point for a dynamic language, but not a static one.)