|
Boost Users : |
Subject: Re: [Boost-users] Problem using Boost->String->Split
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2009-03-30 11:44:37
could you please post the whole app code? What is sep?
On Mon, Mar 30, 2009 at 5:16 PM, professor rumsdiegeige <
professor_rumsdiegeige_at_[hidden]> wrote:
> Hello,
>
> using Visual Studio 2005 and Boost 1.31, I'm trying to compile this:
>
> #include <boost/algorithm/string.hpp>
> #include <boost/algorithm/string/split.hpp>
> #include <vector>
> #include <string>
> using namespace boost::algorithm;
> typedef vector< string > split_vector_type;
> split_vector_type SplitVec;
> std::string r = std::string(sc);
> boost::algorithm::split( SplitVec, r, boost::algorithm::is_any_of(sep) );
>
> But I get:
> error C2039: 'iterator': is not a member of "global namespace'' in
> iterator.hpp 37
>
> What's wrong here?
> Thanx!
> Sabine Lorentz
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
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