LiteFX::Math::Vector::operator=¶
Assignment operators
Synopses¶
Declared in <litefx/vector.hpp>
Copys the elements of another vector into the current vector.
constexpr Vector& operator=(Vector const& _other) = default;
Moves the elements of the other vector to the current vector.
constexpr Vector& operator=(Vector&& _other) noexcept = 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>;
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. |