Conditional Templates

Max Samukha samukha at voliacable.com
Mon Jan 29 01:29:40 PST 2007


On Mon, 29 Jan 2007 09:18:54 +0000 (UTC), Thomas Kuehne
<thomas-dloop at kuehne.cn> wrote:

>
>I'd rather sugest
>
>	static if(is(T : long) || is(T : ulong))
>	// ...
>	else static if(is(T : real))
>	// ..
>	else 
>
>Thomas
>
>
>-----BEGIN PGP SIGNATURE-----
>
>iD8DBQFFvciULK5blCcjpWoRAn5nAKCpvyONxqqBpPdamnb/+NzTc+3aTQCePURd
>jKCGiYXxaD3LH7nbUEJ0ysw=
>=OnR+
>-----END PGP SIGNATURE-----

Yes, that's better. Thanks


More information about the Digitalmars-d-learn mailing list