mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
Revert "Add nix::isASCII*, locale-independent"
This reverts commit 79eb2920bb
.
Not used at this time.
This commit is contained in:
parent
4eaeda6604
commit
0b87ba50c0
2 changed files with 0 additions and 76 deletions
|
@ -1,17 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
namespace nix {
|
||||
|
||||
/** Locale-independent version of std::islower(). */
|
||||
inline bool isASCIILower(char c) { return c >= 'a' && c <= 'z'; };
|
||||
|
||||
/** Locale-independent version of std::isupper(). */
|
||||
inline bool isASCIIUpper(char c) { return c >= 'A' && c <= 'Z'; };
|
||||
|
||||
/** Locale-independent version of std::isalpha(). */
|
||||
inline bool isASCIIAlpha(char c) { return isASCIILower(c) || isASCIIUpper(c); };
|
||||
|
||||
/** Locale-independent version of std::isdigit(). */
|
||||
inline bool isASCIIDigit(char c) { return c >= '0' && c <= '9'; };
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue