Assignment operators

Synopses

Declared in <mp‐units/cartesian_vector.h>

Copy assignment operator

cartesian_vector&
operator=(cartesian_vector const& other) = default;

Copy assignment operator

template<std::convertible_to<T> U>
constexpr
cartesian_vector&
operator=(cartesian_vector<U> const& other);

Move assignment operator

Move assignment operator

template<std::convertible_to<T> U>
constexpr
cartesian_vector&
operator=(cartesian_vector<U>&& other);

Created with MrDocs