General Utility Library for C++14
2.11
|
Declarations of lowercase_ascii(), lowercase_ascii_inplace(), uppercase_ascii(), and uppercase_ascii_inplace().
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the license, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Go to the source code of this file.
Namespaces | |
gul14 | |
Namespace gul14 contains all functions and classes of the General Utility Library. | |
Functions | |
constexpr char | gul14::lowercase_ascii (char c) noexcept |
Return the ASCII lowercase equivalent of the given character (or the unchanged character, if it is not an ASCII letter). More... | |
GUL_EXPORT std::string | gul14::lowercase_ascii (gul14::string_view str) |
Return a copy of the given string in which all ASCII characters are replaced by their lowercase equivalents. More... | |
GUL_EXPORT std::string & | gul14::lowercase_ascii_inplace (std::string &str) noexcept |
Replace all ASCII characters in a string by their lowercase equivalents. More... | |
constexpr char | gul14::uppercase_ascii (char c) noexcept |
Return the ASCII uppercase equivalent of the given character (or the unchanged character, if it is not an ASCII letter). More... | |
GUL_EXPORT std::string | gul14::uppercase_ascii (gul14::string_view str) |
Return a copy of the given string in which all ASCII characters are replaced by their uppercase equivalents. More... | |
GUL_EXPORT std::string & | gul14::uppercase_ascii_inplace (std::string &str) noexcept |
Replace all ASCII characters in a string by their uppercase equivalents. More... | |