From e5bfd17637bf297c3cfe509d51027916864092d5 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sun, 10 Dec 2017 10:02:19 +0300 Subject: Add basic_url class template --- libbutl/utility.mxx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'libbutl/utility.mxx') 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, uncaught_exception[s]() //#include // hash -#include // toupper(), tolower(), isalpha(), isdigit(), isalnum() +#include // toupper(), tolower(), is*() +#include // isw*() #endif #include // 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). // -- cgit v1.1