[#uint256-2constructor-07]
= xref:uint256.adoc[uint256]::uint256
:relfileprefix: ../
:mrdocs:

Constructs a uint256 at compile time from a hex string&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
consteval
explicit
uint256(std::string&lowbar;view hex&lowbar;str);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *hex&lowbar;str*
| A hex string that must fit the 256&hyphen;bit blob exactly&period;
|===


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