Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::stdlib::IsSerializableToPublicInputs Concept Reference

A concept for types that can be serialized to public inputs. More...

#include <public_input_component.hpp>

Concept definition

template<typename ComponentType>
concept bb::stdlib::IsSerializableToPublicInputs = requires(ComponentType component) {
{ component.set_public() } -> std::same_as<uint32_t>;
{ ComponentType::PUBLIC_INPUTS_SIZE } -> std::convertible_to<size_t>;
}
A concept for types that can be serialized to public inputs.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13

Detailed Description

A concept for types that can be serialized to public inputs.

Definition at line 19 of file public_input_component.hpp.