April 20, 2005 static assert inside templated class/struct | ||||
---|---|---|---|---|
| ||||
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 code compiles unexpectedly: # # class A (T){ # static assert(0); # } # http://dstress.kuehne.cn/nocompile/assert_08.d http://dstress.kuehne.cn/nocompile/assert_09.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCZdej3w+/yD4P9tIRApPVAJoDaWMI3PyEEMo9t1ZT67FS/kn1mgCgiOBI NfHNQBvfJ6b/Ai9aO27cXmY= =s/HI -----END PGP SIGNATURE----- |
Copyright © 1999-2021 by the D Language Foundation