Function pointers/delegates default args were stealth removed?
Marco Leise
Marco.Leise at gmx.de
Tue Aug 28 23:58:58 PDT 2012
Am Mon, 27 Aug 2012 19:46:57 +0200
schrieb "foobar" <foo at bar.com>:
> The point was that there are _other_ motivating examples for
> annotations hence there's already popular demand for it. Which is
> why it's worth the added complexity to the language. In fact part
> of that complexity *already* exists in D syntax via built-in
> annotations (e.g @safe).
Properties are currently implemented as "strip off the @ and
continue". They are mapped to storage class bit flags, like the
others with no special code paths or data structures in place.
--
Marco
More information about the Digitalmars-d
mailing list