AddStringViewSupport#
Fully qualified name: carb::detail::AddStringViewSupport
Defined in carb/RString.h
-
template<class Derived>
class AddStringViewSupport# A helper class for adding string view support to RString classes.
Public Functions
-
inline operator carb::cpp::string_view() const noexcept#
Converts this registered string to a string view.
- Returns:
A
carb::cpp::string_view
constructed as if bycarb::cpp::string_view(c_str(), length())
.- Returns:
A carb::cpp::string_view representing the string.
-
inline operator carb::cpp::zstring_view() const noexcept#
Converts this registered string to a zstring view.
- Returns:
A
carb::cpp::zstring_view
constructed as if bycarb::cpp::zstring_view(c_str(), length())
.- Returns:
A carb::cpp::zstring_view representing the string.
-
inline operator carb::cpp::string_view() const noexcept#