diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-08-08 00:49:04 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-08-10 14:53:04 +0300 |
commit | aa0370b08ea8a1ad679a746c7be21a874f264fb6 (patch) | |
tree | 653f6b1d8ed888691f5af5a1e57516050d71d3cb /butl/path.ixx | |
parent | de07f993a54f7443db685798ae9225bbd49f0231 (diff) |
Add ucase(), lcase(), casecmp(), alpha(), digit(), alnum()
Diffstat (limited to 'butl/path.ixx')
-rw-r--r-- | butl/path.ixx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/butl/path.ixx b/butl/path.ixx index 26a9b3d..d1fa34c 100644 --- a/butl/path.ixx +++ b/butl/path.ixx @@ -3,7 +3,6 @@ // license : MIT; see accompanying LICENSE file #ifdef _WIN32 -# include <cctype> // tolower(), toupper() # include <cwctype> // towlower(), towupper() #endif @@ -14,7 +13,7 @@ namespace butl inline char path_traits<char>:: tolower (char c) { - return std::tolower (c); + return lcase (c); } template <> @@ -28,7 +27,7 @@ namespace butl inline char path_traits<char>:: toupper (char c) { - return std::toupper (c); + return ucase (c); } template <> |