![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#include <algorithm>#include <cstddef>#include <string>#include <string_view>

Go to the source code of this file.
Namespaces | |
| namespace | PS |
Functions | |
| template<typename Range , typename T = typename Range::value_type> | |
| bool | PS::contains (Range &&range, const T &value) |
| Simplifed version of std::ranges::contains (C++23) as we don't support the original one yet. More... | |
| template<typename Char > | |
| void | PS::ReplaceSubrange (std::basic_string< Char > &base, std::basic_string_view< std::type_identity_t< Char > > tag, std::basic_string_view< std::type_identity_t< Char > > value) |
| Replaces all occurrences of a substring within a string with a given value. More... | |