Restore full UpCast functionality, this time w/o the runtime cost.mastermob
commit41e2e908e8908ce52886f8ccdc6db5bfd1a3aa8b
authorArtur Skawina <art.08.09@gmail.com>
Sat, 7 Apr 2012 15:13:02 +0000 (7 17:13 +0200)
committerArtur Skawina <art.08.09@gmail.com>
Sat, 7 Apr 2012 15:13:02 +0000 (7 17:13 +0200)
tree5dc28600722e4b3f23578968ac3cc7cfc1cd47ae
parent8a5ff1c4dfb95bae9aa73318bd81674a85ea6e50
Restore full UpCast functionality, this time w/o the runtime cost.

Ugly, but a simple is(A:B) check won't succeed in some cases where
"A a; B b = a;" would work.

<toCString> is left unchanged because currently it's only used w/
(char*) targets - a similar change there would be a no-op, at least
until real UFCS arrives.
mixin/GLib2__MODULE_HEAD.d