[Dlang-internal] Modifying vtbl in ClassInfo

Walter Bright via Dlang-internal dlang-internal at puremagic.com
Fri Jul 21 18:18:12 PDT 2017


You could make it work by making a copy of the vtbl[], modifying it as you 
please, and seeing __vptr to it.

If you're trying to implement signals and slots, it's already in the library:

http://dlang.org/phobos/std_signals.html


More information about the Dlang-internal mailing list