
Hi: Cheers. That worked. Sean. _____ From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Tan, Tom (Shanghai) Sent: 16 June 2008 03:10 To: boost-users@lists.boost.org Subject: Re: [Boost-users] Error when using the split algorithm
I have the following line of code:
boost::algorithm::split(SplitString, temp, "-"); I get the
following error when trying >to compile using visual c++ 2005:
error C2064: term does not evaluate to a function taking 1 arguments finder.hpp 583
Can anyone tell me what I have done wrong here.
You should be using boost::algorithm::split(SplitString, temp,
is_any_of("-")); the 3rd parameter should be a predicate functor not
string. You need to include