[Issue 614] New: Real and imaginary properties of complex numbers not allowed as template arguments

Thomas Kuehne thomas-dloop at kuehne.cn
Wed Nov 29 13:31:57 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at puremagic.com schrieb am 2006-11-27:
> http://d.puremagic.com/issues/show_bug.cgi?id=614

> DMD generates an error if I use the '.re' or '.im' properties in a template
> call, but works if I extract this value into a constant and pass the constant
> to the template instead:

<snip>

Added to DStress as
http://dstress.kuehne.cn/compile/c/cdouble_12_A.d
http://dstress.kuehne.cn/compile/c/cdouble_12_B.d
http://dstress.kuehne.cn/compile/c/cfloat_12_A.d
http://dstress.kuehne.cn/compile/c/cfloat_12_B.d
http://dstress.kuehne.cn/compile/c/creal_37_A.d
http://dstress.kuehne.cn/compile/c/creal_37_B.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFFbgMVLK5blCcjpWoRAutQAJ4tBTwtGy4ebndVZSCn5UZ1ehE8ogCgnNVH
Vv8iSUmW/2aHFLii9dF/77w=
=5LlM
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list