diff --git a/include/boost/intrusive_ptr.hpp b/include/boost/intrusive_ptr.hpp index 57e8c87..6135bb6 100644 --- a/include/boost/intrusive_ptr.hpp +++ b/include/boost/intrusive_ptr.hpp @@ -126,12 +126,6 @@ public: return p_ != 0; } -private: - - operator int () const; - -public: - #else typedef T * (intrusive_ptr::*unspecified_bool_type) () const; diff --git a/include/boost/scoped_array.hpp b/include/boost/scoped_array.hpp index fd770bc..6d33a56 100644 --- a/include/boost/scoped_array.hpp +++ b/include/boost/scoped_array.hpp @@ -93,12 +93,6 @@ public: return ptr != 0; } -private: - - operator int () const; - -public: - #else typedef T * (this_type::*unspecified_bool_type)() const; diff --git a/include/boost/scoped_ptr.hpp b/include/boost/scoped_ptr.hpp index 5c07ebd..464822b 100644 --- a/include/boost/scoped_ptr.hpp +++ b/include/boost/scoped_ptr.hpp @@ -110,12 +110,6 @@ public: return ptr != 0; } -private: - - operator int () const; - -public: - #else typedef T * (this_type::*unspecified_bool_type)() const; diff --git a/include/boost/shared_array.hpp b/include/boost/shared_array.hpp index 68420a2..5ee8ff7 100644 --- a/include/boost/shared_array.hpp +++ b/include/boost/shared_array.hpp @@ -102,12 +102,6 @@ public: return px != 0; } -private: - - operator int () const; - -public: - #else typedef T * (this_type::*unspecified_bool_type)() const; diff --git a/include/boost/shared_ptr.hpp b/include/boost/shared_ptr.hpp index 0040fb4..8cb6d1e 100644 --- a/include/boost/shared_ptr.hpp +++ b/include/boost/shared_ptr.hpp @@ -253,12 +253,6 @@ public: return px != 0; } -private: - - operator int () const; - -public: - #else typedef T * (this_type::*unspecified_bool_type)() const;