Class StringRef
Defined in File catch_amalgamated.hpp
Class Documentation
-
class StringRef
A non-owning string class (similar to the forthcoming std::string_view) Note that, because a StringRef may be a substring of another string, it may not be null terminated.
Public Functions
-
constexpr StringRef() noexcept = default
-
StringRef(char const *rawChars) noexcept
-
inline StringRef(std::string const &stdString) noexcept
-
inline explicit operator std::string() const
-
inline constexpr auto empty() const noexcept -> bool
-
inline constexpr char const *data() const noexcept
-
inline constexpr const_iterator begin() const
-
inline constexpr const_iterator end() const
-
constexpr StringRef() noexcept = default