basic_string_view

D language counterpart to C++ std::basic_string_view.

C++ reference:

Constructors

this
this(const(T)[] str)

Alias This

as_array

Members

Aliases

const_pointer
alias const_pointer = const(T)*
difference_type
alias difference_type = ptrdiff_t
length
alias length = size
opDollar
alias opDollar = length
pointer
alias pointer = T*
size_type
alias size_type = size_t
toString
alias toString = as_array
value_type
alias value_type = T

Functions

as_array
const(T)[] as_array()
at
const(T) at(size_type i)
back
const(T) back()
data
const(T)* data()
empty
bool empty()
front
const(T) front()
size
size_type size()

Variables

npos
enum size_type npos;

Meta