Skip to content

class univector<T, tag_array_ref> univector

template <typename T>
struct univector<T, tag_array_ref> : array_ref<T>,
                                     univector_base<T, univector<T, tag_array_ref>, is_vec_element<T>> { … }

typedef size

using array_ref<T>::size

Defined at base/univector.hpp:344

typedef array_ref<type-parameter-0-0>

using array_ref<T>::array_ref

Defined at base/univector.hpp:345

typedef size_type

using size_type = size_t

Defined at base/univector.hpp:346

constructor univector<T, tag_array_ref>(univector<T, tag_array_ref> &)

univector(univector& v)

Defined at base/univector.hpp:348

constructor univector<T, tag_array_ref>(const univector<T, tag_array_ref> &)

univector(const univector& v)   = default

Defined at base/univector.hpp:350

constructor univector<T, tag_array_ref>(univector<T, tag_array_ref> &&)

univector(univector&&) noexcept = default

Defined at base/univector.hpp:351

constructor univector<T, tag_array_ref>(const array_ref<T> &)

constexpr univector(const array_ref<T>& other) : array_ref<T>(other) { … }

Defined at base/univector.hpp:352

constructor univector<T, tag_array_ref>(array_ref<T> &&)

constexpr univector(array_ref<T>&& other) : array_ref<T>(std::move(other)) { … }

Defined at base/univector.hpp:353

function univector<T, tag_array_ref>(const univector<T, Tag> &)

template <univector_tag Tag>
constexpr univector(const univector<T, Tag>& other) : array_ref<T>(other.data(), other.size()) { … }

Defined at base/univector.hpp:356

function univector<T, tag_array_ref>(univector<T, Tag> &)

template <univector_tag Tag>
constexpr univector(univector<T, Tag>& other) : array_ref<T>(other.data(), other.size()) { … }

Defined at base/univector.hpp:360

function univector<T, tag_array_ref>(const univector<U, Tag> &)

template <typename U, univector_tag Tag>
    requires(std::is_same_v<std::remove_const_t<T>, U> && std::is_const_v<T>)
constexpr univector(const univector<U, Tag>& other) : array_ref<T>(other.data(), other.size()) { … }

Defined at base/univector.hpp:365

function univector<T, tag_array_ref>(univector<U, Tag> &)

template <typename U, univector_tag Tag>
    requires(std::is_same_v<std::remove_const_t<T>, U> && std::is_const_v<T>)
constexpr univector(univector<U, Tag>& other) : array_ref<T>(other.data(), other.size()) { … }

Defined at base/univector.hpp:370

function univector<T, tag_array_ref>(univector<U, Tag> &&)

template <typename U, univector_tag Tag>
    requires(std::is_same_v<std::remove_const_t<T>, U> && std::is_const_v<T>)
constexpr univector(univector<U, Tag>&& other) : array_ref<T>(other.data(), other.size()) { … }

Defined at base/univector.hpp:375

function resize(size_t)

void resize(size_t) noexcept

Defined at base/univector.hpp:378

variable size_known

constexpr static bool size_known   = false

Defined at base/univector.hpp:379

variable is_array

constexpr static bool is_array     = false

Defined at base/univector.hpp:380

variable is_array_ref

constexpr static bool is_array_ref = true

Defined at base/univector.hpp:381

variable is_vector

constexpr static bool is_vector    = false

Defined at base/univector.hpp:382

variable is_aligned

constexpr static bool is_aligned   = false

Defined at base/univector.hpp:383

typedef value_type

using value_type                   = std::remove_const_t<T>

Defined at base/univector.hpp:384

function get(size_t, value_type)

value_type get(size_t index, value_type fallback_value) const noexcept

Defined at base/univector.hpp:386

typedef operator=

using univector_base<T, univector, is_vec_element<T>>::operator=

Defined at base/univector.hpp:390

function ref()

univector<T, tag_array_ref>& ref() &&

Defined at base/univector.hpp:392

Defined at base/univector.hpp:341