[C++-sig] Using Boost Pyhton as a C++ Reflection Library

Stefan Franke franke at ableton.com
Fri May 9 19:30:08 CEST 2003


> -----Original Message-----
> From: c++-sig-admin at python.org [mailto:c++-sig-admin at python.org]On
> Behalf Of David Abrahams
...
> 
> I don't think Boost.Python is a particularly good tool for that unless
> you need Python bindings anyway... and even then, some information
> about argument lists, overloads, etc., would be lost.  I *have* been
> thinking for some time that a Pyste-like system could be used to
> generate MPL-compatible class descriptions that could be explored at
> compile-time or at runtime.
> 

Sorry, I'm completely ignorant of the MPL stuff: How would 
you iterate over this structure at runtime and do something
meaningful with the member descriptors (e.g. use them to
stream out some members for persistency)?

How could objects refer to their class descriptors?


Thanks for enlightenment,
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20030509/c4680fdd/attachment.htm>


More information about the Cplusplus-sig mailing list