forked from boostorg/smart_ptr
Turns out Sun CC doesn't like operator int().
[SVN r18512]
This commit is contained in:
@ -126,12 +126,6 @@ public:
|
||||
return p_ != 0;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
operator int () const;
|
||||
|
||||
public:
|
||||
|
||||
#else
|
||||
|
||||
typedef T * (intrusive_ptr::*unspecified_bool_type) () const;
|
||||
|
@ -93,12 +93,6 @@ public:
|
||||
return ptr != 0;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
operator int () const;
|
||||
|
||||
public:
|
||||
|
||||
#else
|
||||
|
||||
typedef T * (this_type::*unspecified_bool_type)() const;
|
||||
|
@ -110,12 +110,6 @@ public:
|
||||
return ptr != 0;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
operator int () const;
|
||||
|
||||
public:
|
||||
|
||||
#else
|
||||
|
||||
typedef T * (this_type::*unspecified_bool_type)() const;
|
||||
|
@ -102,12 +102,6 @@ public:
|
||||
return px != 0;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
operator int () const;
|
||||
|
||||
public:
|
||||
|
||||
#else
|
||||
|
||||
typedef T * (this_type::*unspecified_bool_type)() const;
|
||||
|
@ -253,12 +253,6 @@ public:
|
||||
return px != 0;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
operator int () const;
|
||||
|
||||
public:
|
||||
|
||||
#else
|
||||
|
||||
typedef T * (this_type::*unspecified_bool_type)() const;
|
||||
|
Reference in New Issue
Block a user