Named template constraints

monarch_dodra via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 22 08:15:14 PDT 2014


On Tuesday, 22 April 2014 at 15:06:34 UTC, Steven Schveighoffer 
wrote:
> Note, is the r2 = R.init needed? Not sure.

Yes: It R2 has no default init, or is an immutable, then that 
line will fail to compile.


More information about the Digitalmars-d-learn mailing list