AnyPtr | Helper function to access the contained object of a std::any instance. Returns a pointer to the object if passed instance has a value and the type matches, nullptr otherwise. |
ConstevalHexDigit | consteval version of HexDigit() without the lookup table. |
ContainsNoNUL | Check if a string does not contain any embedded NUL (0) characters |
ErrorString | Extracts the error message from a result. |
ExecVp | Cross-platform wrapper for POSIX execvp function. Arguments and return value are the same as for POSIX execvp, and the argv array should consist of null terminated strings and be null terminated itself, like the POSIX function. |
GetExePath | Return path to current executable assuming it was invoked with argv0. If path could not be determined, returns an empty path. |
HasPrefix | Check whether a container begins with the given prefix. |
Join | Join overloads |
LockDirectory | Acquire an exclusive lock on a directory via a lock file. |
MakeUnorderedList | Create an unordered multi-line list of items. |
RemovePrefix | Return a copy of str with the given prefix removed, if present. |
RemovePrefixView | Return a view of str with the given prefix removed, if present. |
RemoveSuffixView | Return a view of str with the given suffix removed, if present. |
ReplaceAll | Replace every occurrence of a substring in place. |
Split | Split overloads |
SplitString | SplitString overloads |
ThreadGetInternalName | Get the thread's internal (in-memory) name; used e.g. for identification in logging. |
ThreadRename | Rename a thread both in terms of an internal (in-memory) name as well as its system thread name. |
ThreadSetInternalName | Set the internal (in-memory) name of the current thread only. |
ToString | Locale-independent version of std::to_string |
TraceThread | A wrapper for do-something-once thread functions. |
TrimString | Return a copy of str with leading and trailing pattern characters removed. |
TrimStringView | Return a view of str with leading and trailing pattern characters removed. |
insert | insert overloads |
operator""_hex | Compile-time hex literal returning a std::array<std::byte, N/2>. |
operator""_hex_u8 | Compile-time hex literal returning a std::array<uint8_t, N/2>. |
operator""_hex_v | Compile-time hex literal returning a std::vector<std::byte>. |
operator""_hex_v_u8 | Compile-time hex literal returning a std::vector<uint8_t>. |
operator+ | Addition operators |
operator<< | Write the translated form of a literal to an output stream. |