boost::is_any_of() highlighted as error [message #757143] |
Wed, 16 November 2011 17:44 |
vaibhav Messages: 1 Registered: November 2011 |
Junior Member |
|
|
Hi,
The following code is a slightly modified version of what I have seen in boost documentation:
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/iter_find.hpp>
#include <vector>
#include <string>
std::string commands = "here,are,some,commands";
std::vector< std::string > commandVector;
const std::string delims = ",";
boost::split( commandVector, commands, boost::is_any_of(delims), boost::token_compress_on );
For some reason, is_any_of() and split are underlined in red, yet it compiles perfectly.
I was wondering why this may be the case; I am not sure whether it is a bug or that I have not enabled some appropriate CDT settings.
I am hoping you guys can shed some light on the matter, since it is the only slight issue I have had with CDT, which is otherwise pretty awesome!
Thank you,
VK
|
|
|
Powered by
FUDForum. Page generated in 0.04027 seconds