ToyGine2 26.2.0
Game Engine for retro consoles
Loading...
Searching...
No Matches
constexpr_utils.inl File Reference

Inline implementations for constexpr helpers declared in constexpr_utils.hpp. More...

This graph shows which files directly or indirectly include this file:

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.

Detailed Description

Inline implementations for constexpr helpers declared in constexpr_utils.hpp.

Note
Included by core.hpp only; do not include this file directly.