[#base_uint-02-operator_assign-0f]
= xref:base_uint-02.adoc[base&lowbar;uint]::operator&equals;
:relfileprefix: ../
:mrdocs:

Assignment operators

== Synopses

Declared in `&lt;arith&lowbar;uint256&period;h&gt;`

Copy&hyphen;assigns a big integer from another of the same width&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:base_uint-02.adoc[base&lowbar;uint]&
xref:base_uint-02/operator_assign-04.adoc[operator&equals;](xref:base_uint-02.adoc[base&lowbar;uint] const& b) = default;
----

[.small]#xref:base_uint-02/operator_assign-04.adoc[_» more&period;&period;&period;_]#

Assigns a 64&hyphen;bit unsigned value to this big integer&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:base_uint-02.adoc[base&lowbar;uint]&
xref:base_uint-02/operator_assign-0d.adoc[operator&equals;](uint64&lowbar;t b);
----

[.small]#xref:base_uint-02/operator_assign-0d.adoc[_» more&period;&period;&period;_]#

== Return Value

A reference to this object&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *b*
| The value to copy&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
