xte::big_int<T>::operator=()

Defined in header <xte/math/big_int.hpp>


Definitions

#0
constexpr xte::big_int<T>& operator=(const xte::big_int<T>&) & noexcept(false) = default;

#1
constexpr xte::big_int<T>& operator=(xte::big_int<T>&&) & noexcept = default;



Example

xte::big_int n = 123;
n = 456;
std::println("{}", n);
Output:
456
[View in Compiler Explorer]