Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Conversation

@chfast
Copy link
Member

@chfast chfast commented May 16, 2022

Requires #644

{}
inline constexpr explicit address(uint64_t v) noexcept : evmc_address{}
{
for (size_t i = sizeof(bytes) - sizeof(v); i < sizeof(bytes); ++i)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this better?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just shorter.

chfast added 3 commits May 20, 2022 10:44
This replaces std::error_code and exceptions with std::optional<bytes>
to inform about invalid hex input.
@chfast chfast force-pushed the hex_literals branch 3 times, most recently from 4fa9b27 to 67ad485 Compare May 26, 2022 07:38
@chfast chfast force-pushed the hex_literals branch 2 times, most recently from 060c177 to 940787d Compare June 2, 2022 11:42
Base automatically changed from hex_literals to master June 2, 2022 14:30
@axic
Copy link
Member

axic commented Aug 26, 2022

@chfast what happened to this?

@axic
Copy link
Member

axic commented Oct 23, 2022

@chfast merge or not?

@axic
Copy link
Member

axic commented May 3, 2023

@chfast still on the verge of merge?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants