I have a simple C++ with Boost like this:
#include
int main()
{
std::string latlonStr = \"hello,ergr()()rg(rg)\";
boo
Alternatively, if you use C++11 and don't want to turn off warnings, you have the painful option of replacing
boost::is_any_of(L"(,)")
with the following lambda expression
[](wchar_t &c) { for (auto candidate : { L'(', L',', L')' }) { if (c == candidate) return true; }; return false; }
You can also possibly pack that into a macro