
10 Feb
2012
10 Feb
'12
10:19 p.m.
On 02/10/2012 09:53 PM, paul Fultz wrote:
And everything needed to be defined together in one master macro, to make it easier to index the meta-data classes. It would've been nice to write it like this:
class SomeClass { PROPERTY((int) id, get get_id) PROPERTY((string) name, get get_name, set set_name) ... };
But I could never finde a good way to do that.
I can think of a way, but it would involve a hard limit on the number of properties and a switch for each access.