Testing for template argument being result of takeExactly

Timon Gehr timon.gehr at gmx.ch
Sun Sep 23 14:53:20 PDT 2012


On 09/23/2012 10:57 PM, Ali Çehreli wrote:
> ...
>
> Also, I think your code should have passed a range like R.init to
> takeExactly, not R, which is a type:
>
>    takeExactly(R.init, 1)
>
> I don't know why your code compiles.
>

See discussion here:
http://d.puremagic.com/issues/show_bug.cgi?id=8220



More information about the Digitalmars-d-learn mailing list