Mercurial > projects > qtd
view d2/qtd/Core.d @ 316:f04e6d82d3d4 lifetime
QDefines.d.inc
author | maxter <spambox@d-coding.com> |
---|---|
date | Thu, 24 Dec 2009 00:06:56 +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; }