with(a,b,c, ...) blocks..

ixid nuaccount at gmail.com
Tue Oct 16 23:07:21 PDT 2012


>Theoretically legal...
>
>  void func()
>  //in/out contracts
>  body with (E) { //with replaces normal block
>
>  }

This seems sensible. Multiple with seems like a recipe for 
confusion and member name clashes.


More information about the Digitalmars-d-learn mailing list