Make UpCast!T really zero-cost.
commit8a5ff1c4dfb95bae9aa73318bd81674a85ea6e50
authorArtur Skawina <art.08.09@gmail.com>
Sun, 1 Apr 2012 23:19:59 +0000 (2 01:19 +0200)
committerArtur Skawina <art.08.09@gmail.com>
Sun, 1 Apr 2012 23:57:51 +0000 (2 01:57 +0200)
tree81941099956dc479f63f8fa16f56ce020c32cd17
parentf0ad79c7a3b6d0adf425f2c1e907fefab09120ef
Make UpCast!T really zero-cost.

The 'is(typeof({DT x = src;}))' etc caused several memory allocations
per UpCast call. Switching to 'is(typeof(src):DT)' makes them go away.
toCString had the same problem.
mixin/GLib2__MODULE_HEAD.d