Re: [C++-sig] Boost.Python "contains" compile fix

2015-03-30 Thread Stefan Seefeld
On 30/03/15 04:37 PM, Huebl, Axel wrote: > On 30.03.2015 17:42, Stefan Seefeld wrote: >> On 30/03/15 11:16 AM, Huebl, Axel wrote: >>> Hi, >>> >>> >>> adding more Python 3 features, the "contains" method was added (in 1.55.0?) >>> http://www.boost.org/doc/libs/1_55_0/libs/python/doc/news.html >>>

Re: [C++-sig] Boost.Python "contains" compile fix

2015-03-30 Thread Huebl, Axel
On 30.03.2015 22:37, Huebl, Axel wrote: > On 30.03.2015 17:42, Stefan Seefeld wrote: >> On 30/03/15 11:16 AM, Huebl, Axel wrote: >>> Hi, >>> >>> >>> adding more Python 3 features, the "contains" method was added (in 1.55.0?) >>> http://www.boost.org/doc/libs/1_55_0/libs/python/doc/news.html >>> >

Re: [C++-sig] Boost.Python "contains" compile fix

2015-03-30 Thread Huebl, Axel
On 30.03.2015 17:42, Stefan Seefeld wrote: > On 30/03/15 11:16 AM, Huebl, Axel wrote: >> Hi, >> >> >> adding more Python 3 features, the "contains" method was added (in 1.55.0?) >> http://www.boost.org/doc/libs/1_55_0/libs/python/doc/news.html >> >> Unfortunately, I found a nasty compile bug when

Re: [C++-sig] Boost.Python "contains" compile fix

2015-03-30 Thread Stefan Seefeld
On 30/03/15 11:16 AM, Huebl, Axel wrote: > Hi, > > > adding more Python 3 features, the "contains" method was added (in 1.55.0?) > http://www.boost.org/doc/libs/1_55_0/libs/python/doc/news.html > > Unfortunately, I found a nasty compile bug when compiling with nvcc that > I tried to fix in > ht

[C++-sig] Boost.Python "contains" compile fix

2015-03-30 Thread Huebl, Axel
Hi, adding more Python 3 features, the "contains" method was added (in 1.55.0?) http://www.boost.org/doc/libs/1_55_0/libs/python/doc/news.html Unfortunately, I found a nasty compile bug when compiling with nvcc that I tried to fix in https://github.com/boostorg/python/pull/14 Does anyone kn

Re: [C++-sig] Boost python exposing abstract class , function returning boost::shared_ptr

2015-03-30 Thread warin
Hi Holger Thank you very much. A little bit ugly but it works. Even using std::shared_ptr instead of boost::shared_ptr Best regards ___ Cplusplus-sig mailing list Cplusplus-sig@python.org https://mail.python.org/mailman/listinfo/cplusplus-sig

Re: [C++-sig] Boost python exposing abstract class , function returning boost::shared_ptr

2015-03-30 Thread Holger Joukl
Hi, > Thank you for the reply. > It compiles but same error on execution. If I change the A2 exposure to bp::class_, boost::noncopyable>("A2", bp::no_init) ... then f1() successfully returns a B2 object. But of course we then lose the Python-callback abilities provided by the wrapper cl