SDWest paper

Thomas Kuehne thomas-dloop at kuehne.cn
Sat Mar 18 07:15:18 PST 2006


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

Dave schrieb am 2006-03-18:
> In article <dvgeh5$18j9$1 at digitaldaemon.com>, Walter Bright says...
>>
>>www.digitalmars.com/d/templates-revisited.html 
>>
>>
>
> Very cool stuff!
>
> For v0.149, I had to change 'const sqrt' to 'const real sqrt' and 'const hash'
> to 'const real hash' for those examples.

Added to DStress as
http://dstress.kuehne.cn/run/a/auto_17_A.d
http://dstress.kuehne.cn/run/a/auto_17_B.d
http://dstress.kuehne.cn/run/a/auto_17_C.d
http://dstress.kuehne.cn/run/a/auto_17_D.d
http://dstress.kuehne.cn/run/a/auto_17_E.d
http://dstress.kuehne.cn/run/a/auto_17_F.d
http://dstress.kuehne.cn/run/c/const_36_A.d
http://dstress.kuehne.cn/run/c/const_36_B.d
http://dstress.kuehne.cn/run/c/const_36_C.d
http://dstress.kuehne.cn/run/c/const_36_D.d
http://dstress.kuehne.cn/run/c/const_36_E.d
http://dstress.kuehne.cn/run/c/const_36_F.d
http://dstress.kuehne.cn/run/c/const_36_G.d
http://dstress.kuehne.cn/run/c/const_36_H.d
http://dstress.kuehne.cn/run/c/const_36_I.d
http://dstress.kuehne.cn/run/c/const_37_A.d
http://dstress.kuehne.cn/run/c/const_37_B.d
http://dstress.kuehne.cn/run/c/const_37_C.d
http://dstress.kuehne.cn/run/c/const_37_D.d
http://dstress.kuehne.cn/run/c/const_37_E.d
http://dstress.kuehne.cn/run/c/const_37_F.d
http://dstress.kuehne.cn/run/s/static_36_A.d
http://dstress.kuehne.cn/run/s/static_36_B.d
http://dstress.kuehne.cn/run/s/static_36_C.d
http://dstress.kuehne.cn/run/s/static_36_D.d
http://dstress.kuehne.cn/run/s/static_36_E.d
http://dstress.kuehne.cn/run/s/static_36_F.d

>
> Also on Linux for the sqrt example, I'm getting these linker errors:
>
> t.o(.gnu.linkonce.d._D1t38__T4sqrtVi2Vee78d9befa33f304b5ff3fVi4Z4sqrte+0x0):
> multiple definition of `_D1t38__T4sqrtVi2Vee78d9befa33f304b5ff3fVi4Z4sqrte'
> t.o(.gnu.linkonce.d._D1t38__T4sqrtVi2Vee78d9befa33f304b5ff3fVi4Z4sqrte+0x0):
> first defined here

[snip]

Added to DStress as
http://dstress.kuehne.cn/run/t/template_32_A.d
http://dstress.kuehne.cn/run/t/template_32_B.d
http://dstress.kuehne.cn/run/t/template_32_C.d
http://dstress.kuehne.cn/run/t/template_32_D.d
http://dstress.kuehne.cn/run/t/template_32_E.d
http://dstress.kuehne.cn/run/t/template_32_F.d
http://dstress.kuehne.cn/run/t/template_32_G.d
http://dstress.kuehne.cn/run/t/template_32_H.d
http://dstress.kuehne.cn/run/t/template_32_I.d
http://dstress.kuehne.cn/run/t/template_32_J.d
http://dstress.kuehne.cn/run/t/template_32_K.d
http://dstress.kuehne.cn/run/t/template_32_L.d
http://dstress.kuehne.cn/run/t/template_32_M.d
http://dstress.kuehne.cn/run/t/template_32_N.d
http://dstress.kuehne.cn/run/t/template_32_O.d
http://dstress.kuehne.cn/run/t/template_32_P.d
http://dstress.kuehne.cn/run/t/template_32_Q.d
http://dstress.kuehne.cn/run/t/template_32_R.d
http://dstress.kuehne.cn/run/t/template_32_S.d
http://dstress.kuehne.cn/run/t/template_32_T.d
http://dstress.kuehne.cn/run/t/template_32_U.d
http://dstress.kuehne.cn/run/t/template_33_A.d
http://dstress.kuehne.cn/run/t/template_33_B.d
http://dstress.kuehne.cn/run/t/template_33_C.d
http://dstress.kuehne.cn/run/t/template_33_D.d
http://dstress.kuehne.cn/run/t/template_33_E.d
http://dstress.kuehne.cn/run/t/template_33_F.d
http://dstress.kuehne.cn/run/t/template_33_G.d
http://dstress.kuehne.cn/run/t/template_33_H.d
http://dstress.kuehne.cn/run/t/template_33_I.d

Might be related:
http://dstress.kuehne.cn/www/dstress.html#template_class_14_A
http://dstress.kuehne.cn/www/dstress.html#template_struct_05_C

Thomas


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

iD8DBQFEHCsF3w+/yD4P9tIRAntDAJ43e56qVZMg55mlvm1Gl5id6oULIQCfZ10c
/s1LswTx9HzYhGPnTK91xkA=
=NBdW
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-announce mailing list