Lolly 1.4.28
|
#include <string_view.hpp>
Public Member Functions | |
string_view (const T *a_, int N_) | |
template<size_t N_> | |
constexpr | string_view (const T(&null_end_str)[N_]) |
string_view (string_view< T > &&)=default | |
constexpr | string_view (const std::basic_string< T > &str) |
operator std::basic_string< T > () | |
string_view< T > | operator() (int start, int end) const |
string_view ()=delete | |
string_view (const string_view< T > &)=delete | |
string_view & | operator= (const string_view< T > &)=delete |
string_view & | operator= (string_view< T > &&)=delete |
Public Attributes | |
const int | N |
const T *const | a |
Readonly view of string, in which char is store in a continuous space. NUL is allowed in string. this view can be construct from lolly_string et al.
Definition at line 24 of file string_view.hpp.
|
inline |
construct from arbitary const pointer with length. NUL can occurs in given array
Definition at line 32 of file string_view.hpp.
|
inlineconstexpr |
|
default |
|
inlineconstexpr |
Definition at line 42 of file string_view.hpp.
|
delete |
empty view is not allowed.
|
delete |
|
inline |
Definition at line 44 of file string_view.hpp.
string_view< T > lolly::data::string_view< T >::operator() | ( | int | start, |
int | end ) const |
Definition at line 59 of file string_view.hpp.
|
delete |
|
delete |
const int lolly::data::string_view< T >::N |
Definition at line 26 of file string_view.hpp.
const T* const lolly::data::string_view< T >::a |
Definition at line 27 of file string_view.hpp.