prevector<36, unsigned char>::prevector

Constructors

Synopses

Declared in <prevector.h>

Constructs an empty container.

constexpr
prevector() = default;
» more...

Constructs a container with n value-initialized elements.

explicit
prevector(size_type n);
» more...

Constructs a copy of other.

prevector(prevector<36U, unsigned char, unsigned int, int> const& other);
» more...

Constructs a container by moving the contents of other, leaving it empty.

prevector(prevector<36U, unsigned char, unsigned int, int>&& other) noexcept;
» more...

Constructs a container with n copies of val.

explicit
prevector(
    size_type n,
    unsigned char const& val);
» more...

Constructs a container from the elements in the range [first, last).]

template<std::input_iterator InputIterator>
prevector(
    InputIterator first,
    InputIterator last);
» more...

Parameters

NameDescription
nThe number of elements to create.
otherThe container to copy from.
valThe value to copy into each element.
firstIterator to the first element to copy.
lastIterator one past the last element to copy.