Mercurial > projects > qtd
view d2/qtd/Core.d @ 314:80b52f5e97b6 lifetime
Structure without common root dir
author | maxter <spambox@d-coding.com> |
---|---|
date | Wed, 23 Dec 2009 23:17:36 +0200 |
parents | 8674fd5f34f4 |
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; }