Turns out Sun CC doesn't like operator int().

[SVN r18512]
This commit is contained in:
Peter Dimov
2003-05-23 13:46:07 +00:00
parent bc00d5fa1a
commit d091ee85c0
5 changed files with 0 additions and 30 deletions

View File

@ -126,12 +126,6 @@ public:
return p_ != 0;
}
private:
operator int () const;
public:
#else
typedef T * (intrusive_ptr::*unspecified_bool_type) () const;

View File

@ -93,12 +93,6 @@ public:
return ptr != 0;
}
private:
operator int () const;
public:
#else
typedef T * (this_type::*unspecified_bool_type)() const;

View File

@ -110,12 +110,6 @@ public:
return ptr != 0;
}
private:
operator int () const;
public:
#else
typedef T * (this_type::*unspecified_bool_type)() const;

View File

@ -102,12 +102,6 @@ public:
return px != 0;
}
private:
operator int () const;
public:
#else
typedef T * (this_type::*unspecified_bool_type)() const;

View File

@ -253,12 +253,6 @@ public:
return px != 0;
}
private:
operator int () const;
public:
#else
typedef T * (this_type::*unspecified_bool_type)() const;