Re: [Boost-bugs] [Boost C++ Libraries] #2121: unspecified_bool_type - based operator bool emulations result in meaningless comparison operators

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2121: unspecified_bool_type - based operator bool emulations result in meaningless comparison operators
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-07-26 03:44:18


#2121: unspecified_bool_type - based operator bool emulations result in
meaningless comparison operators
---------------------------+------------------------------------------------
  Reporter: anonymous | Owner: pdimov
      Type: Bugs | Status: new
 Milestone: Boost 1.36.0 | Component: smart_ptr
   Version: Boost 1.35.0 | Severity: Cosmetic
Resolution: | Keywords: unspecified_bool_type comparison operators
---------------------------+------------------------------------------------
Changes (by marshall):

  * owner: => pdimov
  * component: None => smart_ptr

Comment:

 Trying this on the 1.36 release branch using gcc 4.2 gives me compile
 errors:

 junk.cpp: In function ‘int main()’:
 /Users/marshall/Sources/boost/release/boost/scoped_ptr.hpp:51: error:
 â€˜void boost::scoped_ptr<T>::operator!=(const boost::scoped_ptr<T>&) const
 [with T = int]’ is private
 junk.cpp:11: error: within this context

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2121#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC