prevector::operator=

Assignment operators

Synopses

Declared in <prevector.h>

Copy-assigns the contents of other to this container.

prevector&
operator=(prevector<N, T, Size, Diff> const& other);
» more...

Move-assigns the contents of other to this container, leaving it empty.

prevector&
operator=(prevector<N, T, Size, Diff>&& other) noexcept;
» more...

Return Value

A reference to this container.

Parameters

NameDescription
otherThe container to copy from.