[C++-sig] Re: boost.python, native arrays like double a[3] in classes howto??

David Abrahams dave at boost-consulting.com
Thu Aug 7 15:42:41 CEST 2003


The following message is a courtesy copy of an article
that has been posted to gmane.comp.lib.boost.devel as well.

antonxx at gmx.de writes:

Stephane,

Please bring your Boost.Python questions to the C++-sig (see
http://www.boost.org/more/mailing_lists.htm#cplussig).  In fact if you
scan the recent archives of that list you'll see that a very similar
question was answered just yesterday.

> Hi I  have a class like:
>
> class MyClass {
>     public:
>        double myvector[3];
> };
>
> Is it possible to use it in boost.python 1.30.0?
> I did not find information howto do this,
> but I also did not find information thats its not possible.
>
> My problem I get compiler errors

When requesting support please show the code you wrote and the errors
it produced.

Regards,
Dave

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list