Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » boost::is_any_of() highlighted as error(The boost::is_any_of() function is underlined in red, despite the fact that code compiles perfectly with g++)
icon5.gif  boost::is_any_of() highlighted as error [message #757143] Wed, 16 November 2011 17:44
vaibhav is currently offline vaibhavFriend
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
Previous Topic:Ignoring PRO*C embedded SQL
Next Topic:synchronizing with several remote sites
Goto Forum:
  


Current Time: Fri Apr 26 15:24:27 GMT 2024

Powered by FUDForum. Page generated in 0.04027 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top