TARAXA
|
#include <vector_ref.h>
Public Types | |
using | value_type = _T |
using | element_type = _T |
using | mutable_value_type = typename std::conditional< std::is_const< _T >::value, typename std::remove_const< _T >::type, _T >::type |
Private Attributes | |
_T * | m_data |
size_t | m_count |
A modifiable reference to an existing object or vector in memory.
using dev::vector_ref< _T >::mutable_value_type = typename std::conditional<std::is_const<_T>::value, typename std::remove_const<_T>::type, _T>::type |
|
inline |
|
inline |
Creates a new vector_ref to point to _count elements starting at _data.
|
inline |
Creates a new vector_ref pointing to the data part of a string (given as pointer).
|
inline |
Creates a new vector_ref pointing to the data part of a vector (given as pointer).
|
inline |
Creates a new vector_ref pointing to the data part of a string (given as reference).
|
inline |
|
inline |
Securely overwrite the memory.
|
inline |
|
inline |
Copies the contents of this vector_ref to the contents of _t, up to the max size of _t.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Copies the contents of this vector_ref to the contents of _t, and zeros further trailing elements in _t.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |