ppap4lmp  0.7.2
split.h
Go to the documentation of this file.
1 
8 #ifndef UTILS_SPLIT_H
9 #define UTILS_SPLIT_H
10 
11 #include <alias/std.h>
12 
14 namespace utils
15 {
28  const Str &str,
29  char delim = ' ');
30 }
31 
32 #endif
Vec< Str > split(const Str &str, char delim=' ')
Mimicking Python&#39;s split.
Definition: split.cpp:16
std::string Str
Str is an alias for string.
Definition: std.h:21
std::vector< T > Vec
Vec is an alias for vector (same as list in Python).
Definition: std.h:27
This file includes a part of C++ Standard Template Library and defines aliases for them...
Namespace for utility functions.
Definition: join.h:14