V Fri, 9 Jan 2015 14:11:00 +0200
ketmar via Digitalmars-d <digitalmars-d@puremagic.com> 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 { ... }}

Reply via email to