Skip to content

LiteFX::Math::Size3d::operator=

Assignment operators

Synopses

Declared in <litefx/vector.hpp>

Copy assignment operator

[[dllexport, dllimport]] Size3d& operator=(Size3d const& _other);

» more...

Move assignment operator

[[dllexport, dllimport]] Size3d& operator=(Size3d&& _other) noexcept;

» more...

Copys the elements of another vector into the current vector.

[[dllexport, dllimport]] constexpr Vector<unsigned long long, 3>& operator=(Vector<unsigned long long, 3> const& _other) = default;

» more...

Copies the values from an arbitrary input range into the current vector instance.

constexpr auto& operator=(auto&& input) noexcept
requires std::is_nothrow_convertible_v<std::ranges::range_value_t<decltype(input)>, T>;

» more...

Moves the elements of the other vector to the current vector.

[[dllexport, dllimport]] constexpr Vector<unsigned long long, 3>& operator=(Vector<unsigned long long, 3>&& _other) noexcept = default;

» more...

Return Value

A reference to the current vector instance.

Parameters

NameDescription
_otherThe vector to copy the elements from.
inputThe input range to copy the values from.