Boost logo

Boost Users :

Subject: [Boost-users] Problem using Boost->String->Split
From: professor rumsdiegeige (professor_rumsdiegeige_at_[hidden])
Date: 2009-03-30 11:16:50


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 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