The following assert fails (passes with 'double'):
import std.range;
void main()
{
static assert(is (ElementType!(typeof(iota(0f))) == float));
}
There are a couple of recommended solutions in the following thread:
http://forum.dlang.org/thread/[email protected]
Ali
Comment #1 by github-bugzilla — 2015-09-10T11:04:03Z