aboutsummaryrefslogtreecommitdiff
path: root/libbutl/utility.mxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-12-10 10:02:19 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-12-26 13:25:37 +0300
commite5bfd17637bf297c3cfe509d51027916864092d5 (patch)
tree5dab56d6a5aee0a38da6f597c52b12838b2836b5 /libbutl/utility.mxx
parentb1cd193f1bd28837a00cbe6629f9a562f99d961f (diff)
Add basic_url<H,T> class template
Diffstat (limited to 'libbutl/utility.mxx')
-rw-r--r--libbutl/utility.mxx18
1 files changed, 10 insertions, 8 deletions
diff --git a/libbutl/utility.mxx b/libbutl/utility.mxx
index 3f23581..988ca22 100644
--- a/libbutl/utility.mxx
+++ b/libbutl/utility.mxx
@@ -22,7 +22,8 @@
#include <exception> // exception, uncaught_exception[s]()
//#include <functional> // hash
-#include <cctype> // toupper(), tolower(), isalpha(), isdigit(), isalnum()
+#include <cctype> // toupper(), tolower(), is*()
+#include <cwctype> // isw*()
#endif
#include <libbutl/ft/lang.hxx> // thread_local
@@ -138,14 +139,15 @@ LIBBUTL_MODEXPORT namespace butl
}
};
- bool
- alpha (char);
-
- bool
- digit (char);
+ bool alpha (char);
+ bool digit (char);
+ bool alnum (char);
+ bool xdigit (char);
- bool
- alnum (char);
+ bool alpha (wchar_t);
+ bool digit (wchar_t);
+ bool alnum (wchar_t);
+ bool xdigit (wchar_t);
// Key comparators (i.e., to be used in sets, maps, etc).
//