
Hi,
I usualy add flag -Wall to gnu g++ compilation while developing. Now, I
got a funny warning while compiling the following function (I use the
1.42.0 release of boost)
std::vectorstd::string
split_payload(const std::string & payload_string) {
std::vectorstd::string components;
boost::algorithm::split(components,payload_string,
boost::algorithm::is_any_of(","));
return components;
}
The warning I get is
/usr/include/c++/4.4/bits/stl_algo.h: In function
‘std::vector