Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8813: compiler errors with gcc in c++11 mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-13 03:57:55
#8813: compiler errors with gcc in c++11 mode
--------------------------------+-----------------------
Reporter: oleg.alexandrov@⦠| Owner: pdimov
Type: Bugs | Status: new
Milestone: To Be Determined | Component: smart_ptr
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------+-----------------------
Comment (by oleg.alexandrov@â¦):
I am getting this error in compilation. I have a class which has a member
function which does the following:
typedef typename boost::shared_array<T>::unspecified_bool_type
unspecified_bool_type;
operator unspecified_bool_type() const {
return m_data.size() > 0;
}
As per above, the error is triggered only by Boost 1.53 and 1.54 and only
if -std=gnu++0x is on.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8813#comment:2> 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:50:13 UTC