aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/StringUtil.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/StringUtil.hh')
-rw-r--r--src/FbTk/StringUtil.hh6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/FbTk/StringUtil.hh b/src/FbTk/StringUtil.hh
index 930e0b5..bc17158 100644
--- a/src/FbTk/StringUtil.hh
+++ b/src/FbTk/StringUtil.hh
@@ -94,12 +94,6 @@ std::string::size_type removeTrailingWhitespace(std::string &str);
94/// splits input at first non-leading whitespace and returns both parts 94/// splits input at first non-leading whitespace and returns both parts
95void getFirstWord(const std::string &in, std::string &first, std::string &rest); 95void getFirstWord(const std::string &in, std::string &first, std::string &rest);
96 96
97template <typename T>
98void fromString(const char *in, T &out) {
99 FbTk_istringstream iss(in);
100 iss >> out;
101}
102
103template <typename Container> 97template <typename Container>
104static void stringTokensBetween(Container &container, const std::string &in, 98static void stringTokensBetween(Container &container, const std::string &in,
105 std::string &rest, char first, char last, 99 std::string &rest, char first, char last,