Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/common/assert.hpp"
#include <array>
#include <cstddef>
#include <initializer_list>
#include <iterator>
#include <span>
#include <stdexcept>
Go to the source code of this file.
Classes | |
class | bb::RefArray< T, N > |
A template class for a reference array. Behaves as if std::array<T&, N> was possible. More... | |
class | bb::RefArray< T, N >::iterator |
Nested iterator class for RefArray, based on indexing into the pointer array. Provides semantics similar to what would be expected if std::array<T&, N> was possible. More... | |
Namespaces | |
namespace | bb |
Entry point for Barretenberg command-line interface. | |
Functions | |
template<typename T , typename... Ts> | |
bb::RefArray (T &, Ts &...) -> RefArray< T, 1+sizeof...(Ts)> | |
Deduction guide for the RefArray class. Allows for RefArray {a, b, c} without explicit template params. | |
template<typename T , std::size_t... Ns> | |
RefArray< T,(Ns+...)> constexpr | bb::concatenate (const RefArray< T, Ns > &... ref_arrays) |
Concatenates multiple RefArray objects into a single RefArray. | |