id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 7809,compiler errors with gcc in c++11 mode,Nathan Ridge,Eric Niebler,"The following code: {{{ #include #include 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: {{{ In file included from ./boost/xpressive/detail/core/regex_impl.hpp:21:0, from ./boost/xpressive/match_results.hpp:54, from ./boost/xpressive/detail/core/access.hpp:21, from ./boost/xpressive/detail/core/state.hpp:18, from ./boost/xpressive/detail/core/matcher/alternate_end_matcher.hpp:20, from ./boost/xpressive/detail/core/matchers.hpp:17, from ./boost/xpressive/regex_primitives.hpp:22, from ./boost/xpressive/xpressive_static.hpp:24, from test.cpp:2: ./boost/xpressive/detail/utility/tracking_ptr.hpp: In instantiation of 'struct boost::xpressive::detail::tracking_ptr > > >': ./boost/proto/detail/preprocessed/expr_variadic.hpp:50:49: required from 'struct boost::proto::exprns_::expr > > > >, 0l>' ./boost/xpressive/basic_regex.hpp:53:8: required from 'struct boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator > >' ./boost/xpressive/regex_algorithms.hpp:916:10: required from 'BidiContainer boost::xpressive::regex_replace(BidiContainer&, const boost::xpressive::basic_regex&, const typename boost::iterator_value::type*, boost::xpressive::regex_constants::match_flag_type, typename boost::disable_if >::type*) [with BidiContainer = std::basic_string; BidiIter = __gnu_cxx::__normal_iterator >; typename boost::iterator_value::type = char; typename boost::disable_if >::type = void]' test.cpp:7:53: required from here ./boost/xpressive/detail/utility/tracking_ptr.hpp:440:73: error: no type named 'unspecified_bool_type' in 'class boost::intrusive_ptr > > >' typedef typename intrusive_ptr::unspecified_bool_type unspecified_bool_type; ^ }}} It works fine if I don't compile in C++11 mode. It used to work fine even in C++11 mode in the 1.51 release (don't have 1.52 around to test ATM).",Bugs,closed,To Be Determined,xpressive,Boost Development Trunk,Regression,fixed,,