From: Yann D. <yd...@us...> - 2008-10-21 21:10:07
|
On Sun, Oct 19, 2008 at 01:12:57PM -0700, Brendan Miller wrote: > > Out of curiosity: what are you aiming to do ? Metaprogramming via templates > > and via OpenC++ are two radically different approaches. Do you want to mix > > them ? Or have you ran into limitations of what you can do via template > > metaprogramming, and now are hoping to find a way using OpenC++ ? > > I ran into the problem that there's no way to get a list at compile > time (or even run time for that matter) of the members of a class. Nor > is there any way to operate on types in place. This kind of metaprogramming is not unlike what Qt provides. See eg. http://doc.trolltech.com/4.3/object.html and http://doc.trolltech.com/4.3/metaobjects.html HTH, -- Yann |