Shared/Containers/StringView.h file

Namespaces

namespace Death
Shared root namespace.
namespace Death::Containers
Container implementations.
namespace Death::Containers::Literals
Container literals.

Classes

template<class T>
class Death::Containers::BasicStringView
Base for string views.

Enums

enum class StringViewFlags : std::size_t { Global = std::size_t{1} << (sizeof(std::size_t) * 8 - 1), NullTerminated = std::size_t{1} << (sizeof(std::size_t) * 8 - 2) }

Typedefs

using StringView = BasicStringView<const char>
String view.
using MutableStringView = BasicStringView<char>
Mutable string view.

Functions

auto operator==(StringView a, StringView b) -> bool
auto operator!=(StringView a, StringView b) -> bool
auto operator<(StringView a, StringView b) -> bool
auto operator<=(StringView a, StringView b) -> bool
auto operator>=(StringView a, StringView b) -> bool
auto operator>(StringView a, StringView b) -> bool
auto operator*(StringView string, std::size_t count) -> String
String multiplication.
auto operator*(std::size_t count, StringView string) -> String
auto operator""_s(const char* data, std::size_t size) -> StringView constexpr
String view literal.