mirror of
https://github.com/boostorg/python.git
synced 2026-01-25 18:32:24 +00:00
class.hpp, object/select_holder.hpp, object/pointer_holder.hpp -
fix a problem which was causing value_holder<T> to be instantiated on abstract classes. Now we compute the held_type at an outer level thereby avoiding the inner instantiation. object_core.hpp - workarounds for GCC 2.x bugs suite/indexing/detail/indexing_suite_detail.hpp - workaround for a CWPro8 bug [SVN r19635]
This commit is contained in:
@@ -52,7 +52,6 @@ bool is_null(T* p, int)
|
||||
template <class Pointer, class Value>
|
||||
struct pointer_holder : instance_holder
|
||||
{
|
||||
typedef Value held_type;
|
||||
typedef Value value_type;
|
||||
|
||||
pointer_holder(Pointer);
|
||||
@@ -75,6 +74,7 @@ template <class Pointer, class Value>
|
||||
struct pointer_holder_back_reference : instance_holder
|
||||
{
|
||||
typedef typename python::pointee<Pointer>::type held_type;
|
||||
private:
|
||||
typedef Value value_type;
|
||||
|
||||
// Not sure about this one -- can it work? The source object
|
||||
|
||||
Reference in New Issue
Block a user