Boost logo

Boost :

From: Pavol Droba (droba_at_[hidden])
Date: 2005-04-12 04:38:02


Hi,

On Tue, Apr 12, 2005 at 08:39:51AM +0000, Martin wrote:
> 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]
> ]
>

Unfortunately, Boost.Range does not support this compiler currently, therefor it
also breaks string_algo. We are working on the solution. In the mean time I would
suggest you to use string_algo from boost 1.32

Best Regards,
Pavol


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