Class VectorView¶
-
template<typename
T
>
classVectorView
¶ Manage externally allocated memory ranges with a vector-like interface.
Public Types
-
template<>
usingvalue_type
= T¶
-
template<>
usingsize_type
= std::size_t¶
-
template<>
usingdifference_type
= std::ptrdiff_t¶
-
template<>
usingreference
= value_type&¶
-
template<>
usingconst_reference
= value_type const&¶
-
template<>
usingpointer
= value_type *¶
-
template<>
usingconst_pointer
= value_type const *¶
-
template<>
usingconst_iterator
= const_pointer¶
Public Functions
-
VectorView
()¶
-
DEVICE
VectorView
(T *data, size_type const size, size_type const capacity)¶
-
DEVICE
VectorView
(T *data, size_type const size)¶
-
DEVICE T& VectorView::back()
-
DEVICE T const& VectorView::back() const
-
DEVICE T* VectorView::begin() const
-
DEVICE size_type VectorView::capacity() const
-
DEVICE T const* VectorView::cbegin() const
-
DEVICE T const* VectorView::cend() const
-
DEVICE void VectorView::clear()
-
DEVICE T* VectorView::data()
-
DEVICE T const* VectorView::data() const
-
DEVICE bool VectorView::empty() const
-
DEVICE T* VectorView::end() const
-
DEVICE bool VectorView::full() const
-
DEVICE T& VectorView::front()
-
DEVICE T const& VectorView::front() const
-
DEVICE T& VectorView::operator[](size_type const i)
-
DEVICE T const& VectorView::operator[](size_type const i) const
-
DEVICE void VectorView::push_back(T const & value)
-
DEVICE void VectorView::resize(size_type const size)
-
DEVICE void VectorView::set(T * data, size_type const size)
-
DEVICE size_type VectorView::size() const
-
template<>