Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
ref_vector.hpp File Reference
#include <cstddef>
#include <initializer_list>
#include <iterator>
#include <stdexcept>
#include <vector>
#include "barretenberg/common/assert.hpp"
#include "barretenberg/common/ref_array.hpp"

Go to the source code of this file.

Classes

class  bb::RefVector< T >
 A template class for a reference vector. Behaves as if std::vector<T&> was possible. More...
 
class  bb::RefVector< T >::iterator
 Nested iterator class for RefVector, based on indexing into the pointer vector. Provides semantics similar to what would be expected if std::vector<T&, N> was possible. More...
 

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 

Functions

template<typename T , typename... Ts>
 bb::RefVector (T &, Ts &...) -> RefVector< T >
 Deduction guide for the RefVector class. Allows for RefVector {a, b, c} without explicit template params.
 
template<typename T >
RefVector< T > bb::concatenate (const RefVector< T > &ref_vector, const auto &... ref_vectors)
 Concatenates multiple RefVector objects into a single RefVector.