$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] PCL - Portable C++ Library
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-02-10 17:19:55
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.