Opened 10 years ago

Closed 10 years ago

#6890 closed Bugs (fixed)

BOOST_PYTHON_FORWARD_OBJECT_CONSTRUCTORS_ should use ::boost::python

Reported by: anonymous Owned by: Ralf W. Grosse-Kunstleve
Milestone: To Be Determined Component: python USE GITHUB
Version: Boost 1.46.1 Severity: Problem
Keywords: boost::python::object Cc:

Description

# define BOOST_PYTHON_FORWARD_OBJECT_CONSTRUCTORS_(derived, base) \

inline explicit derived(python::detail::borrowed_reference p) \

: base(p) {} \

inline explicit derived(python::detail::new_reference p) \

: base(p) {} \

inline explicit derived(python::detail::new_non_null_reference p) \

: base(p) {}

should be

# define BOOST_PYTHON_FORWARD_OBJECT_CONSTRUCTORS_(derived, base) \

inline explicit derived(::boost::python::detail::borrowed_reference p) \

: base(p) {} \

inline explicit derived(::boost::python::detail::new_reference p) \

: base(p) {} \

inline explicit derived(::boost::python::detail::new_non_null_reference p) \

: base(p) {}

Change History (2)

comment:1 by anonymous, 10 years ago

Component: NonePython
Owner: set to Ralf W. Grosse-Kunstleve

comment:2 by Ralf W. Grosse-Kunstleve, 10 years ago

Resolution: fixed
Status: newclosed

checked in with svn trunk rev. 78427

Note: See TracTickets for help on using tickets.