Boost logo

Boost Users :

Subject: Re: [Boost-users] [xpressive] compiler errors in c++11 mode with trunk
From: Eric Niebler (eric_at_[hidden])
Date: 2012-12-18 23:55:55


On 12/18/2012 12:32 AM, Nathan Ridge wrote:
>
> Hello,
>
> The following code:
>
> #include <string>
> #include <boost/xpressive/xpressive_static.hpp>
>
> void foo(const boost::xpressive::sregex& regex)
> {
> std::string input;
> boost::xpressive::regex_replace(input, regex, "");
> }
>
> when compiled with GCC (I tested with 4.6/4.7/4.8) in C++11 mode,
> gives the following compiler error:
<snip>

> boost/boost/xpressive/detail/utility/tracking_ptr.hpp:440:73: error: no type named 'unspecified_bool_type' in 'class boost::intrusive_ptr<boost::xpressive::detail::regex_impl<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char> > > >'

Ah! Thanks for the report. Would you mind opening a Trac ticket for
this? I'll try to get it fixed for 1.53.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net