On Fri, 9 Jan 2015 13:16:48 +0100 Daniel Kozák via Digitalmars-d <[email protected]> wrote:
> V Fri, 9 Jan 2015 14:11:00 +0200 > ketmar via Digitalmars-d <[email protected]> napsáno: > > > can it be used like this: > > > > final: > > nothrow: > > ... > > default void foo () { ... } > > ... > > > > so only `foo` becomes default, but all other methods after `foo` are > > `final nothrow`? > > not now, but I plan add this > for now you can use: > default { void foo () { ... }} > > > > > and can it be used like this: > > > > default void foo () nothrow { ... } > > > > so `default` resets all attrs and then i can specify another set of > > attrs inline? > > same as the first one but this works: > > default { void foo () nothrow { ... }} i think it's acceptable even in this form. please, please make a PR from it, so even if it will not be accepted to mainline, i still can steal it for my private builds! ;-)
signature.asc
Description: PGP signature
