1
0
Fork 0
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:
Robert Hensing 2023-12-12 17:44:53 +01:00
parent 4eaeda6604
commit 0b87ba50c0
2 changed files with 0 additions and 76 deletions

View file

@ -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'; };
}