|
DryChem 1.0.0
A generic, compile-time C++ toolbox with no dependencies for the modern computational chemistry project.
|
#include <ciString.hpp>
Static Public Member Functions | |
| static constexpr char | ct_toupper (char ch_) noexcept |
| static constexpr int | compare (const char *s1_, const char *s2_, std::size_t count_) noexcept |
| static constexpr const char * | find (const char *p_, std::size_t count_, const char &ch_) noexcept |
| static constexpr bool | eq (char a, char b) noexcept |
| static constexpr bool | lt (char a, char b) noexcept |
A character traits structure allowing for case-insensitive string comparisons. Overloads the functions it needs and inherits the rest from std::char_traits<char>.
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
Lexicographically, and without regard to case, compares the first count_ characters of the character strings s1_ and s2_.
| s1_ | - A pointer to the first character string to compare |
| s2_ | - A pointer to the second character string to compare |
| count_ | - The number of characters to compare from each character string |
References ct_toupper().
|
inlinestaticconstexprnoexcept |
Searches for character ch_ within the first count_ characters of the sequence pointed to by p_.
| p_ | - A pointer to a character string to search |
| count_ | - The number of characters to analyze |
| ch_ | - The character to search for |
nullptr if ch is not found in the string or count is 0 References ct_toupper().
|
inlinestaticconstexprnoexcept |
References ct_toupper().
|
inlinestaticconstexprnoexcept |
References ct_toupper().