Skip to content

LiteFX::Math::RectI::operator=

Assignment operators

Synopses

Declared in <litefx/vector.hpp>

Copy assignment operator

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

» more...

Move assignment operator

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

» more...

Copys the elements of another vector into the current vector.

[[dllexport, dllimport]] constexpr Vector<int, 4>& operator=(Vector<int, 4> 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<int, 4>& operator=(Vector<int, 4>&& _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.