![]() |
Prev | Next |
u[i] = x
y = v[i]
element_type
to denote the type of elements in the
vector. It must be one of the following types:
bool
, int
, double
, a_double
.
size_t i
It must be between zero and the size of the vector minus one.
u
has prototype
vec_element_type& u
x
has prototype
const element_type& x
v
has the following prototype
const vec_element_type& v
y
has prototype
element_type y
()
instead of brackets
[]
for element access.
set
and get
member functions.