Mercurial > projects > qtd
view d2/qtd/Core.d @ 315:2049c3abd348 lifetime
more cleanup
author | maxter <spambox@d-coding.com> |
---|---|
date | Wed, 23 Dec 2009 23:54:39 +0200 |
parents | 80b52f5e97b6 |
children |
line wrap: on
line source
module qtd.Core; /** Casts from to type $(D_PARAM U), bypassing dynamic checks. */ U static_cast(U, T)(T from) { return cast(U)cast(void*)from; }