#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
#include <iostream>
#include <vector>
#include <string>
std::string m_sten;
std::string m_feal;
std::string m_felt;
std::string m_inte;
std::string m_sag;
std::string m_ende;
std::string m_asko;
std::string m_vit;
void test(bool mon)
{
std::string m_caracs = "1,a,,b";
std::vector<std::string> charmps;
boost::split(charmps, m_caracs, boost::is_any_of(","));
for (auto c : charmps)
std::cout << c << std::endl;
}
int main()
{
test(1);
}
I2luY2x1ZGUgPGJvb3N0L2FsZ29yaXRobS9zdHJpbmcuaHBwPgojaW5jbHVkZSA8Ym9vc3QvbGV4aWNhbF9jYXN0LmhwcD4KI2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgojaW5jbHVkZSA8c3RyaW5nPgoKc3RkOjpzdHJpbmcgbV9zdGVuOwpzdGQ6OnN0cmluZyBtX2ZlYWw7CnN0ZDo6c3RyaW5nIG1fZmVsdDsKc3RkOjpzdHJpbmcgbV9pbnRlOwpzdGQ6OnN0cmluZyBtX3NhZzsKc3RkOjpzdHJpbmcgbV9lbmRlOwpzdGQ6OnN0cmluZyBtX2Fza287CnN0ZDo6c3RyaW5nIG1fdml0OwoKdm9pZCB0ZXN0KGJvb2wgbW9uKQp7CglzdGQ6OnN0cmluZyBtX2NhcmFjcyA9ICIxLGEsLGIiOwoJCXN0ZDo6dmVjdG9yPHN0ZDo6c3RyaW5nPiBjaGFybXBzOwoJCWJvb3N0OjpzcGxpdChjaGFybXBzLCBtX2NhcmFjcywgYm9vc3Q6OmlzX2FueV9vZigiLCIpKTsKCQlmb3IgKGF1dG8gYyA6IGNoYXJtcHMpCgkJCXN0ZDo6Y291dCA8PCBjIDw8IHN0ZDo6ZW5kbDsKfQoKaW50IG1haW4oKQp7Cgl0ZXN0KDEpOwp9