Remove the inaccurate Type::categoryName() and change the error message for invalid calls to one independent of the category

This commit is contained in:
Kamil Śliwak
2023-04-20 13:50:22 +02:00
parent a77d4e281f
commit 34da6c8811
16 changed files with 13 additions and 57 deletions
-9
View File
@@ -160,15 +160,6 @@ inline std::string toLower(std::string _s)
return _s;
}
/// Returns a copy of the string with the first character converted to its uppercase equivalent.
/// Uses the classic "C" locale semantics.
inline std::string capitalized(std::string _s)
{
if (_s.size() > 0)
_s[0] = toUpper(_s[0]);
return _s;
}
/// Checks whether _c is a decimal digit character. It uses the classic "C" locale semantics.
/// @param _c character to be checked
/// @return true if _c is a decimal digit character, false otherwise