cuda::experimental::stf::small_vector#
-
template<typename T, size_t small_cap>
class small_vector# Public Types
-
using size_type = ::std::size_t#
-
using difference_type = ::std::ptrdiff_t#
-
using reference = value_type&#
-
using const_reference = const value_type&#
-
using pointer = value_type*#
-
using const_pointer = const value_type*#
-
using const_iterator = const_pointer#
-
using const_reverse_iterator = ::std::reverse_iterator<const_iterator>#
Public Functions
-
small_vector() = default#
-
inline small_vector(const small_vector &rhs)#
-
inline small_vector(small_vector &&rhs) noexcept#
-
inline small_vector &operator=(const small_vector &rhs)#
-
inline small_vector &operator=(small_vector &&rhs) noexcept#
-
small_vector &operator=(::std::initializer_list<T> ilist)#
-
inline ~small_vector()#
-
inline const_iterator begin() const noexcept#
-
inline const_iterator cbegin() const noexcept#
-
inline const_iterator end() const noexcept#
-
inline const_iterator cend() const noexcept#
-
reverse_iterator rbegin() noexcept#
-
const_reverse_iterator rbegin() const noexcept#
-
const_reverse_iterator crbegin() const noexcept#
-
reverse_iterator rend() noexcept#
-
const_reverse_iterator rend() const noexcept#
-
const_reverse_iterator crend() const noexcept#
-
inline bool empty() const noexcept#
-
inline size_t size() const noexcept#
-
inline size_t max_size() const noexcept#
-
inline void reserve(size_t new_cap)#
-
inline size_t capacity() const noexcept#
-
void shrink_to_fit()#
-
inline void clear() noexcept#
-
iterator insert(const_iterator pos, const T &value)#
-
iterator insert(const_iterator pos, T &&value)#
-
iterator insert(const_iterator pos, size_t count, const T &value)#
- iterator insert(
- const_iterator pos,
- ::std::initializer_list<T> ilist,
-
template<class ...Args>
iterator emplace( - const_iterator pos,
- Args&&... args,
-
iterator erase(const_iterator pos)#
-
inline void pop_back()#
-
inline void resize(size_t new_size)#
-
inline void resize(size_t new_size, const value_type &value)#
-
inline void swap(small_vector &other) noexcept#
Public Members
Friends
- inline friend bool operator==(
- const small_vector &lhs,
- const small_vector &rhs,
-
using size_type = ::std::size_t#