diff options
Diffstat (limited to 'src/FbTk/StringUtil.hh')
-rw-r--r-- | src/FbTk/StringUtil.hh | 6 |
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 |
95 | void getFirstWord(const std::string &in, std::string &first, std::string &rest); | 95 | void getFirstWord(const std::string &in, std::string &first, std::string &rest); |
96 | 96 | ||
97 | template <typename T> | ||
98 | void fromString(const char *in, T &out) { | ||
99 | FbTk_istringstream iss(in); | ||
100 | iss >> out; | ||
101 | } | ||
102 | |||
103 | template <typename Container> | 97 | template <typename Container> |
104 | static void stringTokensBetween(Container &container, const std::string &in, | 98 | static void stringTokensBetween(Container &container, const std::string &in, |
105 | std::string &rest, char first, char last, | 99 | std::string &rest, char first, char last, |