Fully dynamic d by opDotExp overloading

Adam D. Ruppe destructionator at gmail.com
Fri Apr 17 13:04:15 PDT 2009


On Fri, Apr 17, 2009 at 03:54:47PM -0400, Nick Sabalausky wrote:
> What 
> opDotExp is, is a tool of only occasional use that provides only a small 
> benefit, *and* ends up destroying a much more important tool: compile-time 
> checking on a class's members.

Wouldn't the compile time checking remain the same on any class except
the Variant (or whatever) which implements the new operator?

If it is constrained to one type, the destruction seems like it would be
acceptable. You can't trust much on a Variant at compile time anyway.

-- 
Adam D. Ruppe
http://arsdnet.net



More information about the Digitalmars-d mailing list