LiteFX::Math::RectF::operator=¶
Assignment operators
Synopses¶
Declared in <litefx/vector.hpp>
Copy assignment operator
[[dllexport, dllimport]] RectF& operator=(RectF const& _other);
Move assignment operator
[[dllexport, dllimport]] RectF& operator=(RectF&& _other) noexcept;
Copys the elements of another vector into the current vector.
[[dllexport, dllimport]] constexpr Vector<float, 4>& operator=(Vector<float, 4> const& _other) = default;
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>;
Moves the elements of the other vector to the current vector.
[[dllexport, dllimport]] constexpr Vector<float, 4>& operator=(Vector<float, 4>&& _other) noexcept = default;
Return Value¶
A reference to the current vector instance.
Parameters¶
| Name | Description |
|---|---|
| _other | The vector to copy the elements from. |
| input | The input range to copy the values from. |