[Boost-bugs] [Boost C++ Libraries] #8938: shared_ptr to bool is no longer allowed.

Subject: [Boost-bugs] [Boost C++ Libraries] #8938: shared_ptr to bool is no longer allowed.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-30 01:09:32


#8938: shared_ptr to bool is no longer allowed.
-----------------------+------------------------------
 Reporter: anonymous | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.54.0
 Severity: Problem | Keywords:
-----------------------+------------------------------
 GCC 4.8.1

 /boost/boost-1.54.0/include/boost/date_time/local_time/custom_time_zone.hpp:67:30:
 error: cannot convert 'const
 boost::shared_ptr<boost::date_time::dst_day_calc_rule<boost::gregorian::date>
>' to 'bool' in return
        return (dst_calc_rules_); //if calc_rule is set the tz has dst

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8938>
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