Boost logo

Boost :

From: Martin (adrianm_at_[hidden])
Date: 2005-04-12 03:39:51


The updated version of string_algo (using boost.range library) no longer works
with VC70.

trim_copy_if(std::string(" abc "), is_any_of(" "));

generates the following error:

boost\range\detail\begin.hpp(114) : error C2027: use of undefined
type 'boost::range_detail::range_begin<T>'
        with
        [
            T=boost::range_detail::range<const char [2]>::type
        ]
boost\algorithm\string\detail\classification.hpp(68) : see reference to
function template instantiation 'boost::range_result_iterator<C>::type
boost::begin(C (&))' being compiled
        with
        [
            C=const char [2]
        ]
boost\algorithm\string\classification.hpp(203) : see reference to function
template instantiation 'boost::algorithm::detail::is_any_ofF<CharT>::is_any_ofF
(SeqT (&))' being compiled
        with
        [
            CharT=boost::range_value<C>::type,
            SeqT=const char [2]
        ]


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk