From 7a8366da2b5f8149b0bd316ae0905c8453b36f62 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 9 Oct 2012 19:15:05 +0200 Subject: add a unicode.hh header for Codepoint related functions, s/utf8::Codepoint/Codepoint/ --- src/string.hh | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/string.hh') 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 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 -- cgit v1.2.3