[OT] Microsoft filled patent applications for scoped and immutable types
Daniel Kozak via Digitalmars-d
digitalmars-d at puremagic.com
Thu Aug 28 03:12:14 PDT 2014
V Thu, 28 Aug 2014 11:53:35 +0200
"Jérôme M. Berger" via Digitalmars-d <digitalmars-d at puremagic.com>
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);
More information about the Digitalmars-d
mailing list