Opened 16 years ago

Last modified 13 years ago

#857 new Patches (None)

add shared_ptr< const T> support

Reported by: roman_yakovenko@… Owned by: Dave Abrahams
Milestone: To Be Determined Component: python USE GITHUB
Version: Boost 1.34.0 Severity: Problem
Keywords: Cc:

Description (last modified by Dave Abrahams)

This patch adds support to Boost.Python library to handle boost::shared_ptr< const T> class.

The problem and solution were discussed in this thread: http://mail.python.org/pipermail/c++-sig/2006-November/011626.html

Attachments (1)

pointer_holder.hpp.patch (3.0 KB ) - added by Dave Abrahams 15 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Dave Abrahams, 15 years ago

Description: modified (diff)
Owner: changed from david_abrahams to Dave Abrahams
Severity: Showstopper
Status: assignednew

by Dave Abrahams, 15 years ago

Attachment: pointer_holder.hpp.patch added

comment:2 by Dave Abrahams, 15 years ago

Description: modified (diff)
Milestone: Boost 1.35.0
Reporter: changed from roman_yakovenko to roman_yakovenko@…
Severity: ShowstopperProblem
Status: newassigned
Version: Nonerelease 1.34.0

comment:3 by Dave Abrahams, 13 years ago

Status: assignednew

Roman, I've updated the changes to be consistent with the current codebase. Everything compiles and runs cleanly; all I need is a test that fails before we've applied the patch but succeeds afterwards. It should be fairly simple to write if you know what you're trying to achieve.

Thanks!

comment:4 by anonymous, 13 years ago

Milestone: Boost 1.36.0To Be Determined
Note: See TracTickets for help on using tickets.