summaryrefslogtreecommitdiff
path: root/src/utils/split.hpp
blob: 9fee90a11a95eb7a05d26ec7afb059dd2d3d8403 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef SPLIT_INCLUDED
# define SPLIT_INCLUDED

#include <string>
#include <sstream>
#include <vector>

namespace utils
{
  std::vector<std::string> split(const std::string &s, const char delim, const bool allow_empty=true);
}

#endif // SPLIT_INCLUDED