[pro] macros expanding to defclass + some mop code

Sam Steingold sds at gnu.org
Thu Dec 30 00:05:43 UTC 2010


> * Pascal Costanza <cp-99BKOWH6pVcrbJU0hmoH5j at choyvp.tznar.bet> [2010-12-29 21:37:44 +0100]:
>
> Just to be complete, I insist that the 'right' way to do this is to do
> this at runtime.

I found Martin's solution - moving the MOP code into an outside macro,
thus moving the MOP function calls from read time to macroexpansion time
- to be the most elegant and simple.

thanks.

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 10.04 (lucid)
http://www.PetitionOnline.com/tap12009/ http://dhimmi.com http://memri.org
http://camera.org http://ffii.org http://iris.org.il http://honestreporting.com
In C you can make mistakes, while in C++ you can also inherit them!





More information about the pro mailing list