Implicit template properties

Neal Becker ndbecker2 at gmail.com
Fri Mar 9 10:29:56 PST 2007


I'm reading D specification, and I found:
"If a template has exactly one member in it, and the name of that member is
the same...".

That strikes me as strange.  It seems reasonable to use the name as a
trigger for the Implicit template property feature, but what is the reason
for the restriction to 'exactly one member'?



More information about the Digitalmars-d mailing list