Barretenberg
The ZK-SNARK library at the core of Aztec
|
Namespaces | |
namespace | adaptor |
Functions | |
template<msgpack_concepts::HasMsgPack T> | |
void | msgpack_apply (const auto &func, auto &... args) |
Helper method for better error reporting. Clang does not give the best errors for lambdas. | |
template<msgpack_concepts::HasMsgPack T> | |
void | msgpack_apply (const T &value, const auto &func) |
Applies a function to the values exposed by the msgpack method. | |
template<msgpack_concepts::HasMsgPack T> | |
bool | msgpack_check_eq (const T &v1, const T &v2, const std::string_view &error_message) |
Ensures that two msgpack objects are equal by applying the msgpack method to both and comparing the results. | |
template<typename T > | |
uintptr_t | __aligned_for (uintptr_t ptr) |
template<typename T , typename... Args> | |
std::string | check_memory_span (T *obj, Args *... args) |
template<msgpack_concepts::HasMsgPack T> | |
std::string | check_msgpack_method (const T &object) |
void | check_msgpack_usage (const auto &object) |
template<typename Tuple , std::size_t... Is> | |
auto | drop_keys_impl (Tuple &&tuple, std::index_sequence< Is... >) |
template<typename... Args> | |
auto | drop_keys (std::tuple< Args... > &&tuple) |
Drops every first value pairwise of a flat argument tuple, assuming that they are keys. | |
uintptr_t msgpack::__aligned_for | ( | uintptr_t | ptr | ) |
Definition at line 14 of file check_memory_span.hpp.
std::string msgpack::check_memory_span | ( | T * | obj, |
Args *... | args | ||
) |
Definition at line 19 of file check_memory_span.hpp.
std::string msgpack::check_msgpack_method | ( | const T & | object | ) |
Definition at line 68 of file check_memory_span.hpp.
void msgpack::check_msgpack_usage | ( | const auto & | object | ) |
Definition at line 76 of file check_memory_span.hpp.
auto msgpack::drop_keys | ( | std::tuple< Args... > && | tuple | ) |
Drops every first value pairwise of a flat argument tuple, assuming that they are keys.
Definition at line 15 of file drop_keys.hpp.
auto msgpack::drop_keys_impl | ( | Tuple && | tuple, |
std::index_sequence< Is... > | |||
) |
Definition at line 5 of file drop_keys.hpp.
void msgpack::msgpack_apply | ( | const auto & | func, |
auto &... | args | ||
) |
Helper method for better error reporting. Clang does not give the best errors for lambdas.
Definition at line 10 of file msgpack_apply.hpp.
void msgpack::msgpack_apply | ( | const T & | value, |
const auto & | func | ||
) |
Applies a function to the values exposed by the msgpack method.
value | The value whose fields to reflect over. |
func | The function to call with each field as an argument. |
Definition at line 19 of file msgpack_apply.hpp.
bool msgpack::msgpack_check_eq | ( | const T & | v1, |
const T & | v2, | ||
const std::string_view & | error_message | ||
) |
Ensures that two msgpack objects are equal by applying the msgpack method to both and comparing the results.
Definition at line 15 of file msgpack_check_eq.hpp.