Corrade/Containers/StringView.h file new in Git master

Class Corrade::Containers::BasicStringView, typedef Corrade::Containers::StringView, Corrade::Containers::MutableStringView, literal Corrade::Containers::Literals::operator""_s().

Namespaces

namespace Corrade
Root namespace.
namespace Corrade::Containers
Container implementations.
namespace Corrade::Containers::Literals new in Git master
Container literals.

Classes

template<class T>
class Corrade::Containers::BasicStringView new in Git master
Base for string views.

Enums

enum class StringViewFlag: 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) } new in Git master
String view flag.

Typedefs

using StringViewFlags = EnumSet<StringViewFlag> new in Git master
String view flags.
using StringView = BasicStringView<const char> new in Git master
String view.
using MutableStringView = BasicStringView<char> new in Git master
Mutable string view.

Functions

auto operator==(StringView a, StringView b) -> bool new in Git master
String view equality comparison.
auto operator!=(StringView a, StringView b) -> bool new in Git master
String view non-equality comparison.
auto operator<(StringView a, StringView b) -> bool new in Git master
String view less-than comparison.
auto operator<=(StringView a, StringView b) -> bool new in Git master
String view less-than-or-equal comparison.
auto operator>=(StringView a, StringView b) -> bool new in Git master
String view greater-than-or-equal comparison.
auto operator>(StringView a, StringView b) -> bool new in Git master
String view greater-than comparison.
auto operator+(StringView a, StringView b) -> String new in Git master
String concatenation.
auto operator*(StringView string, std::size_t count) -> String new in Git master
String multiplication.
auto operator*(std::size_t count, StringView string) -> String new in Git master
auto operator""_s(const char* data, std::size_t size) -> StringView constexpr new in Git master
String view literal.