![]() |
ToyGine2 26.2.0
Game Engine for retro consoles
|
Constexpr helpers for compile-time string and buffer operations. More...
Go to the source code of this file.
Namespaces | |
| namespace | toy |
| Root namespace containing all engine modules. | |
Functions | |
| constexpr int | toy::cstrcmp (const char *lhs, const char *rhs) noexcept |
| Compares two C strings lexicographically. | |
| constexpr const char * | toy::cstrchr (const char *str, int ch) noexcept |
| Finds the first occurrence of a character in a C string. | |
| constexpr const char * | toy::cstrpbrk (const char *str, const char *accept) noexcept |
| Finds the first occurrence of any character from a set in a C string. | |
| constexpr const char * | toy::cstrstr (const char *haystack, const char *needle) noexcept |
| Finds the first occurrence of a substring in a C string. | |
Constexpr helpers for compile-time string and buffer operations.
Defines constexpr algorithms and helpers declared in this header.