Skip to content

LiteFX::Math::Vector2i::operator=

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

Synopsis

Declared in <litefx/vector.hpp>

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

NameDescription
inputThe input range to copy the values from.