UFCS and constructors

deadalnix deadalnix at gmail.com
Tue Jul 2 18:37:57 PDT 2013


On Tuesday, 2 July 2013 at 19:47:07 UTC, Timon Gehr wrote:
> It is an artificial limitation, because you need to add an 
> explicit check after symbol lookup to ban constructors.
>

That seems very implementation defined. The lookup will gives you 
a class or struct declaration, so special casing the constructor 
is mandatory anyway.



More information about the Digitalmars-d mailing list