mrdocs::ArrayView::ArrayView

Construct a view from a contiguous iterator range of known size.

Synopsis

Declared in <mrdocs/ADT/ArrayView.hpp>

template<class It>
requires (std::contiguous_iterator<It> &&
             std::same_as<std::remove_cv_t<std::remove_reference_t<std::iter_value_t<It>>>, T>)
constexpr
ArrayView(
    It first,
    size_type count) noexcept;

Parameters

Name

Description

first

Iterator to the first element.

count

Number of elements starting at first.

Created with MrDocs