To help LDC/GDC
Simen Kjærås
simen.kjaras at gmail.com
Tue Apr 9 01:38:23 PDT 2013
On Tue, 09 Apr 2013 09:41:43 +0200, Manu <turkeyman at gmail.com> wrote:
> How does one specify that in their code? Is 'strong pure' a keyword?
It's not a keyword. It's inferred by the compiler when a function is
marked pure
(or is a template function and is inferred pure), and all parameters are
implicitly castable to immutable (i.e. POD or marked immutable).
This includes, of course, the hidden 'this' parameter.
--
Simen
More information about the Digitalmars-d
mailing list