Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::python::return_value_policy<bp::reference_existing_object>() is weakref in python?
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-03-22 03:07:18


On Sat, Mar 19, 2011 at 12:39 AM, Thomas Rab <thomas.rab_at_[hidden]> wrote:
> ::Monocle::Collider * ( ::Monocle::Entity::* )( ::std::string const & ) )(
> &::Monocle::Entity::Collide )

I'm not sure of it, but the problem might be here. What happens if
you pass plain

   &::Monocle::Entitiy::Collide

here instead (and why on earth are you using a C-style cast here in
the first place?)

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net