I want to subclass Class::MakeMethods (to, say, MyMakeMethods) such that optional and required fields can be specified.
My goal: to have a MyMakeMethods such that I can then create a new class Foo (subclassing MyMakeMethods) with (say) scalar parameters x,y,z, where x and y must be defined on creation (and, say, z is optional). If x and y not defined, then the call to new dies.
I am having a hard time seeing how to wrap C:MakeMethods this way and would welcome suggestions.
Thanks
In reply to subclassing MakeMethods by water
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |