V Thu, 28 Aug 2014 11:53:35 +0200
"Jérôme M. Berger" via Digitalmars-d <[email protected]>
napsáno:
> 
>       I should have said that in D it is used when declaring an
> instance (i.e. at the place of the instance declaration) whereas in
> the patent it is used when declaring the type. For a patent lawyer,
> this will be enough to say that the patent is new.
> 

I don't agree completly

// immutable is used when declaring the type IS
immutable struct IS {
        string s;
}

IS s = IS("fff");
s.s = "d";
writeln(s);


Reply via email to