Hi all, I'm a beginner of c++ and boost::python, so this may be a stupid question. When I have the following class:
class Foo{
public:
float &a;
};
Is there some way to expose "a" in python? I would like to use it like a
normal python attribute, e.g. set it's value with "Foo().a = 3.1".
Thanks for any help,
Sebastian
_______________________________________________
Cplusplus-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cplusplus-sig
