Bifrost SDK
Bifrost SDK documentation
Amino::StringLiteral Class Referencefinal

#include <StringView.h>

Inheritance diagram for Amino::StringLiteral:
Amino::StringView

Friends

constexpr StringLiteral StringViewLiterals::operator""_asv (char const *, size_t)
 

Additional Inherited Members

- Public Member Functions inherited from Amino::StringView
constexpr StringView () noexcept=default
 Default constructor (empty string view) More...
 
 StringView (std::nullptr_t)=delete
 Constructing a StringView from a nullptr_t is not allowed. More...
 
constexpr StringView (char const *data, size_t size) noexcept
 Constructs a string view with the given data and size. More...
 
template<typename R , enable_if_explicitly_constructible< R > * = nullptr>
AMINO_INTERNAL_FORCEINLINE constexpr StringView (R &&r)
 StringView can be explicitly constructed from types from which std::string_view can explicitly be constructed. More...
 
template<typename R , enable_if_implicitly_constructible< R > * = nullptr>
AMINO_INTERNAL_FORCEINLINE constexpr StringView (R &&r)
 StringView can be implicitly constructed from types from which std::string_view can implicitly be constructed. More...
 
AMINO_INTERNAL_FORCEINLINE constexpr operator std::string_view () const noexcept
 std::string_view conversions More...
 
constexpr char const * data () const noexcept
 Get the string view data. More...
 
constexpr size_t size () const noexcept
 Get the size of the string view. More...
 
constexpr size_t length () const noexcept
 Get the size of the string view. More...
 
constexpr bool empty () const noexcept
 Returns whether the string view is empty or not. More...
 
constexpr char front () const noexcept
 Get the first character in the string view. More...
 
constexpr char back () const noexcept
 Get the last character in the string view. More...
 
constexpr char operator[] (size_t idx) const noexcept
 Get the character at the given index in the string view. More...
 
constexpr char const * cbegin () const noexcept
 Get an iterator to the beginning of the string view. More...
 
constexpr char const * begin () const noexcept
 Get an iterator to the beginning of the string view. More...
 
constexpr char const * cend () const noexcept
 Get an iterator to the end of the string view. More...
 
constexpr char const * end () const noexcept
 Get an iterator to the end of the string view. More...
 
constexpr bool operator== (StringView o) const noexcept
 Comparison operators. More...
 
constexpr bool operator< (StringView o) const noexcept
 Comparison operators. More...
 
constexpr bool operator> (StringView o) const noexcept
 Comparison operators. More...
 
constexpr bool operator!= (StringView o) const noexcept
 Comparison operators. More...
 
constexpr bool operator<= (StringView o) const noexcept
 Comparison operators. More...
 
constexpr bool operator>= (StringView o) const noexcept
 Comparison operators. More...
 

Detailed Description

Definition at line 224 of file StringView.h.

Friends And Related Function Documentation

◆ StringViewLiterals::operator""_asv

constexpr StringLiteral StringViewLiterals::operator""_asv ( char const *  ,
size_t   
)
friend