diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-10-09 19:15:05 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-10-09 19:15:05 +0200 |
| commit | 7a8366da2b5f8149b0bd316ae0905c8453b36f62 (patch) | |
| tree | 42a563ac6040b9d018cb2132481e974ce1a9149e /src/string.hh | |
| parent | e1d4215159d39aa941b7846c46103d3690c2abcd (diff) | |
add a unicode.hh header for Codepoint related functions, s/utf8::Codepoint/Codepoint/
Diffstat (limited to 'src/string.hh')
| -rw-r--r-- | src/string.hh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/string.hh b/src/string.hh index ad3a7b5f..dfcd9cbb 100644 --- a/src/string.hh +++ b/src/string.hh @@ -83,14 +83,6 @@ String int_to_str(int value); int str_to_int(const String& str); std::vector<String> split(const String& str, char separator); -inline bool is_word(char c) -{ - return (c >= '0' and c <= '9') or - (c >= 'a' and c <= 'z') or - (c >= 'A' and c <= 'Z') or - c == '_'; -} - } namespace std |
