Pre and Post contracts and signature constraints

simendsjo simendsjo at gmail.com
Mon Jul 4 10:52:10 PDT 2011


On 04.07.2011 19:42, simendsjo wrote:
>
> The "in" should be in a block of it's own:
>
> T foo(T)(T a)
> if(...) // notice no { here
> in {
> } body {
> }

I of course mean that if should not create a new block.


More information about the Digitalmars-d-learn mailing list