I am trying to compile the following very very simple piece of source code:
#include // #include // using namespace std; cl
If you've got Boost, use boost::algorithm::iequals(s1, s2, std::locale::classic()) in (or leave off locale if you want locale-sensitivity). It works with C strings, std::[w]string, vector, etc.
boost::algorithm::iequals(s1, s2, std::locale::classic())
std::[w]string
vector