title: Cannot get boost header to compile
body: <p>I want to use the Boost library to split a string, but I am getting a compilation error with Visual Studio.</p>
  
  <p>My code has <code>#include "boost/algorithm/string/split.hpp";</code> and  <code>#include "boost/algorithm/string/classification.hpp";</code> and my project's include directories contains <code>C:\Data\Libraries\Boost_1.56.0</code>, which itself contains the root <code>boost</code> directory with Boost's header files.</p>
  
  <p>I then have the following:</p>
  
  <pre><code>std::string line = "this,is,a,test";
  std::vector&lt;std::string&gt; strings;
  boost::algorithm::split(strings, line, boost::is_any_of(','));
  </code></pre>
  
  <p>But this gives me all sorts of errors, such as:</p>
  
  <pre><code>Error   37  error C2039: 'type' : is not a member of 'boost::mpl::eval_if_c&lt;false,boost::range_const_iterator&lt;char,void&gt;,boost::range_mutable_iterator&lt;char,void&gt;&gt;' C:\Data\Libraries\Boost_1.56.0\boost\range\iterator.hpp 69
  </code></pre>
  
  <p>Any help?</p>