Uniform Function Call Syntax(UFCS) and @property

kenji hara k.hara.pg at gmail.com
Sat Mar 5 16:15:17 PST 2011


2011/3/4 Steven Schveighoffer <schveiguy at yahoo.com>:
> Also, keep in mind that I think UFCS should be restricted to builtins only
> (i.e. primitives + arrays, not AA's, since they map to a struct that can be
> customized in druntime).  To provide multiple ways for one to add members to
> classes/structs causes huge ambiguity/hijacking issues.

I think the ambiguity/hijacking will be resolved by overload set.
You do?

Kenji


More information about the Digitalmars-d mailing list