siplasplas
Public Member Functions | List of all members
cpp::constexp::StringView Class Reference

Implements a constexpr reference to an slice of an string. More...

#include <stringview.hpp>

Inheritance diagram for cpp::constexp::StringView:
cpp::constexp::ArrayView< char >

Public Member Functions

constexpr StringView (const ArrayView< char > &arrayView)
 
- Public Member Functions inherited from cpp::constexp::ArrayView< char >
constexpr ArrayView (char *begin, std::size_t size)
 
constexpr ArrayView (char *begin, char *end)
 
constexpr ArrayView (std::initializer_list< char > initList)
 
constexpr ArrayView (const char(&array)[N])
 
constexpr ArrayView (const std::array< char, N > &array)
 
constexpr std::size_t size () const
 
constexpr char * begin () const
 
constexpr char * end () const
 
constexpr char *const cbegin () const
 
constexpr char *const cend () const
 
constexpr ArrayView operator() (std::size_t begin, std::size_t end) const
 
constexpr char * operator() (std::size_t i) const
 
constexpr char operator[] (std::size_t i) const
 

Detailed Description

Implements a constexpr reference to an slice of an string.


The documentation for this class was generated from the following file: