Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
std Namespace Reference

STL namespace. More...

Classes

class  allocator
 STL class.
 
class  array
 STL class.
 
class  atomic
 STL class.
 
class  atomic_ref
 STL class.
 
class  auto_ptr
 STL class.
 
class  bad_alloc
 STL class.
 
class  bad_cast
 STL class.
 
class  bad_exception
 STL class.
 
class  bad_typeid
 STL class.
 
class  basic_fstream
 STL class.
 
class  basic_ifstream
 STL class.
 
class  basic_ios
 STL class.
 
class  basic_iostream
 STL class.
 
class  basic_istream
 STL class.
 
class  basic_istringstream
 STL class.
 
class  basic_ofstream
 STL class.
 
class  basic_ostream
 STL class.
 
class  basic_ostringstream
 STL class.
 
class  basic_string
 STL class.
 
class  basic_string_view
 STL class.
 
class  basic_stringstream
 STL class.
 
class  bitset
 STL class.
 
class  complex
 STL class.
 
class  deque
 STL class.
 
class  domain_error
 STL class.
 
class  error_category
 STL class.
 
class  error_code
 STL class.
 
class  error_condition
 STL class.
 
class  exception
 STL class.
 
class  forward_list
 STL class.
 
class  fstream
 STL class.
 
struct  hash< bb::field< Params > >
 
struct  hash< std::array< T, SIZE > >
 
struct  hash< std::vector< bb::avm2::FF > >
 
struct  hash< T >
 
class  ifstream
 STL class.
 
class  invalid_argument
 STL class.
 
class  ios
 STL class.
 
class  ios_base
 STL class.
 
class  istream
 STL class.
 
class  istringstream
 STL class.
 
class  jthread
 STL class.
 
class  length_error
 STL class.
 
class  list
 STL class.
 
class  lock_guard
 STL class.
 
class  logic_error
 STL class.
 
class  map
 STL class.
 
class  multimap
 STL class.
 
class  multiset
 STL class.
 
class  mutex
 STL class.
 
class  ofstream
 STL class.
 
class  ostream
 STL class.
 
class  ostringstream
 STL class.
 
class  out_of_range
 STL class.
 
class  overflow_error
 STL class.
 
class  priority_queue
 STL class.
 
class  queue
 STL class.
 
class  range_error
 STL class.
 
class  recursive_mutex
 STL class.
 
class  recursive_timed_mutex
 STL class.
 
class  runtime_error
 STL class.
 
class  set
 STL class.
 
class  shared_lock
 STL class.
 
class  shared_mutex
 STL class.
 
class  shared_ptr
 STL class.
 
class  shared_timed_mutex
 STL class.
 
class  smart_ptr
 STL class.
 
class  span
 STL class.
 
class  stack
 STL class.
 
class  string
 STL class.
 
class  string_view
 STL class.
 
class  stringstream
 STL class.
 
class  system_error
 STL class.
 
class  thread
 STL class.
 
class  timed_mutex
 STL class.
 
struct  tuple_element< I, tuplet::pair< A, B > >
 
struct  tuple_element< I, tuplet::tuple< T... > >
 
struct  tuple_size< bb::Univariate< T, N > >
 
struct  tuple_size< bb::UnivariateCoefficientBasis< T, N, X > >
 
struct  tuple_size< tuplet::pair< A, B > >
 
struct  tuple_size< tuplet::tuple< T... > >
 
class  u16string
 STL class.
 
class  u16string_view
 STL class.
 
class  u32string
 STL class.
 
class  u32string_view
 STL class.
 
class  u8string
 STL class.
 
class  u8string_view
 STL class.
 
class  underflow_error
 STL class.
 
class  unique_lock
 STL class.
 
class  unique_ptr
 STL class.
 
class  unordered_map
 STL class.
 
class  unordered_multimap
 STL class.
 
class  unordered_multiset
 STL class.
 
class  unordered_set
 STL class.
 
class  valarray
 STL class.
 
class  vector
 STL class.
 
class  weak_ptr
 STL class.
 
class  wfstream
 STL class.
 
class  wifstream
 STL class.
 
class  wios
 STL class.
 
class  wistream
 STL class.
 
class  wistringstream
 STL class.
 
class  wofstream
 STL class.
 
class  wostream
 STL class.
 
class  wostringstream
 STL class.
 
class  wstring
 STL class.
 
class  wstring_view
 STL class.
 
class  wstringstream
 STL class.
 

Concepts

concept  HasGetAll
 

Functions

void read (auto &buf, std::integral auto &value)
 
void write (auto &buf, std::integral auto value)
 
template<size_t N>
void read (uint8_t const *&it, std::array< uint8_t, N > &value)
 
template<size_t N>
void write (uint8_t *&buf, std::array< uint8_t, N > const &value)
 
void read (uint8_t const *&it, std::vector< uint8_t > &value)
 
void write (uint8_t *&buf, std::vector< uint8_t > const &value)
 
void read (std::istream &is, std::vector< uint8_t > &value)
 
void write (std::ostream &os, std::vector< uint8_t > const &value)
 
template<size_t N>
void write (std::vector< uint8_t > &buf, std::array< uint8_t, N > const &value)
 
template<size_t N>
void write (std::ostream &os, std::array< uint8_t, N > const &value)
 
template<typename B , typename T , size_t N>
void read (B &it, std::array< T, N > &value)
 
template<typename B , typename T , size_t N>
void write (B &buf, std::array< T, N > const &value)
 
template<typename B , typename T , typename A >
void read (B &it, std::vector< T, A > &value)
 
template<typename B , typename T , typename A >
void write (B &buf, std::vector< T, A > const &value)
 
template<typename B >
void read (B &it, std::string &value)
 
template<typename B >
void write (B &buf, std::string const &value)
 
template<typename B , typename T , typename U >
void read (B &it, std::pair< T, U > &value)
 
template<typename B , typename T , typename U >
void write (B &buf, std::pair< T, U > const &value)
 
template<typename B , typename T >
void read (B &it, std::shared_ptr< T > &value_ptr)
 
template<typename B , typename T >
void write (B &buf, std::shared_ptr< T > const &value_ptr)
 
template<typename B , typename T , typename U >
void read (B &it, std::map< T, U > &value)
 
template<typename B , typename T , typename U >
void write (B &buf, std::map< T, U > const &value)
 
template<typename B , typename T >
void read (B &it, std::optional< T > &opt_value)
 
template<typename B , HasGetAll T>
void write (B &buf, T const &value)
 
template<typename B , typename T >
void write (B &buf, std::optional< T > const &opt_value)
 
template<msgpack_concepts::HasMsgPack T>
std::ostream & operator<< (std::ostream &os, const T &obj)
 Automatically derived stream operator for any object that defines .msgpack() (implicitly defined by MSGPACK_FIELDS). Note this is duplicated as it must be seen in both std and global namespaces.
 
std::ostream & operator<< (std::ostream &os, std::vector< uint8_t > const &arr)
 
template<std::integral T, typename A >
std::ostream & operator<< (std::ostream &os, std::vector< T, A > const &arr)
 
template<typename T , typename A >
requires (!std::integral<T>)
std::ostream & operator<< (std::ostream &os, std::vector< T, A > const &arr)
 
template<size_t S>
std::ostream & operator<< (std::ostream &os, std::array< uint8_t, S > const &arr)
 
template<typename T , size_t S>
std::ostream & operator<< (std::ostream &os, std::array< T, S > const &arr)
 
template<typename T , typename U >
std::ostream & operator<< (std::ostream &os, std::pair< T, U > const &pair)
 
template<typename T >
std::ostream & operator<< (std::ostream &os, std::optional< T > const &opt)
 
template<typename T , typename U >
std::ostream & operator<< (std::ostream &os, std::map< T, U > const &map)
 
template<size_t I, class... T>
constexpr decltype(auto) get (::tuplet::tuple< T... > &&t) noexcept
 
template<size_t I, class... T>
constexpr decltype(auto) get (::tuplet::tuple< T... > &t) noexcept
 
template<size_t I, class... T>
constexpr decltype(auto) get (const ::tuplet::tuple< T... > &t) noexcept
 
template<size_t I, class... T>
constexpr decltype(auto) get (const ::tuplet::tuple< T... > &&t) noexcept
 
template<typename Ctx >
std::ostream & operator<< (std::ostream &os, bb::crypto::merkle_tree::hash_path< Ctx > const &path)
 
std::ostream & operator<< (std::ostream &os, bb::crypto::merkle_tree::fr_hash_path const &path)
 
bool operator== (std::vector< uint8_t > const &lhs, bb::crypto::Sha256Hash const &rhs)
 
std::ostream & operator<< (std::ostream &os, bb::crypto::Sha256Hash const &arr)
 
std::ostream & operator<< (std::ostream &os, uint128_t const &a)
 
std::string to_string (bb::avm2::ValueTag tag)
 
std::string to_string (const bb::avm2::TaggedValue &val)
 

Detailed Description

STL namespace.

Function Documentation

◆ get() [1/4]

template<size_t I, class... T>
constexpr decltype(auto) std::get ( ::tuplet::tuple< T... > &&  t)
constexprnoexcept

◆ get() [2/4]

template<size_t I, class... T>
constexpr decltype(auto) std::get ( ::tuplet::tuple< T... > &  t)
constexprnoexcept

Definition at line 17 of file tuple.hpp.

◆ get() [3/4]

template<size_t I, class... T>
constexpr decltype(auto) std::get ( const ::tuplet::tuple< T... > &&  t)
constexprnoexcept

Definition at line 25 of file tuple.hpp.

◆ get() [4/4]

template<size_t I, class... T>
constexpr decltype(auto) std::get ( const ::tuplet::tuple< T... > &  t)
constexprnoexcept

Definition at line 21 of file tuple.hpp.

◆ operator<<() [1/13]

std::ostream & std::operator<< ( std::ostream &  os,
bb::crypto::merkle_tree::fr_hash_path const path 
)
inline

Definition at line 85 of file hash_path.hpp.

◆ operator<<() [2/13]

template<typename Ctx >
std::ostream & std::operator<< ( std::ostream &  os,
bb::crypto::merkle_tree::hash_path< Ctx > const path 
)
inline

Definition at line 75 of file hash_path.hpp.

◆ operator<<() [3/13]

std::ostream & std::operator<< ( std::ostream &  os,
bb::crypto::Sha256Hash const arr 
)
inline

Definition at line 43 of file sha256.hpp.

◆ operator<<() [4/13]

std::ostream & std::operator<< ( std::ostream &  os,
const T &  obj 
)

Automatically derived stream operator for any object that defines .msgpack() (implicitly defined by MSGPACK_FIELDS). Note this is duplicated as it must be seen in both std and global namespaces.

Parameters
osThe stream to write to.
objThe object to write.

Definition at line 79 of file streams.hpp.

◆ operator<<() [5/13]

template<typename T , size_t S>
std::ostream & std::operator<< ( std::ostream &  os,
std::array< T, S > const arr 
)
inline

Definition at line 136 of file streams.hpp.

◆ operator<<() [6/13]

template<size_t S>
std::ostream & std::operator<< ( std::ostream &  os,
std::array< uint8_t, S > const arr 
)
inline

Definition at line 124 of file streams.hpp.

◆ operator<<() [7/13]

template<typename T , typename U >
std::ostream & std::operator<< ( std::ostream &  os,
std::map< T, U > const map 
)
inline

Definition at line 159 of file streams.hpp.

◆ operator<<() [8/13]

template<typename T >
std::ostream & std::operator<< ( std::ostream &  os,
std::optional< T > const opt 
)
inline

Definition at line 154 of file streams.hpp.

◆ operator<<() [9/13]

template<typename T , typename U >
std::ostream & std::operator<< ( std::ostream &  os,
std::pair< T, U > const pair 
)
inline

Definition at line 148 of file streams.hpp.

◆ operator<<() [10/13]

template<std::integral T, typename A >
std::ostream & std::operator<< ( std::ostream &  os,
std::vector< T, A > const arr 
)
inline

Definition at line 102 of file streams.hpp.

◆ operator<<() [11/13]

template<typename T , typename A >
requires (!std::integral<T>)
std::ostream & std::operator<< ( std::ostream &  os,
std::vector< T, A > const arr 
)
inline

Definition at line 114 of file streams.hpp.

◆ operator<<() [12/13]

std::ostream & std::operator<< ( std::ostream &  os,
std::vector< uint8_t > const arr 
)
inline

Definition at line 90 of file streams.hpp.

◆ operator<<() [13/13]

std::ostream & std::operator<< ( std::ostream &  os,
uint128_t const a 
)
inline

Definition at line 209 of file uint128.hpp.

◆ operator==()

bool std::operator== ( std::vector< uint8_t > const lhs,
bb::crypto::Sha256Hash const rhs 
)
inline

Definition at line 38 of file sha256.hpp.

◆ read() [1/11]

void std::read ( auto buf,
std::integral auto value 
)
inline

Definition at line 188 of file serialize.hpp.

◆ read() [2/11]

template<typename B , typename T , size_t N>
void std::read ( B it,
std::array< T, N > &  value 
)
inline

Definition at line 261 of file serialize.hpp.

◆ read() [3/11]

template<typename B , typename T , typename U >
void std::read ( B it,
std::map< T, U > &  value 
)
inline

Definition at line 349 of file serialize.hpp.

◆ read() [4/11]

template<typename B , typename T >
void std::read ( B it,
std::optional< T > &  opt_value 
)
inline

Definition at line 373 of file serialize.hpp.

◆ read() [5/11]

template<typename B , typename T , typename U >
void std::read ( B it,
std::pair< T, U > &  value 
)
inline

Definition at line 317 of file serialize.hpp.

◆ read() [6/11]

template<typename B , typename T >
void std::read ( B it,
std::shared_ptr< T > &  value_ptr 
)
inline

Definition at line 333 of file serialize.hpp.

◆ read() [7/11]

template<typename B >
void std::read ( B it,
std::string &  value 
)
inline

Definition at line 301 of file serialize.hpp.

◆ read() [8/11]

template<typename B , typename T , typename A >
void std::read ( B it,
std::vector< T, A > &  value 
)
inline

Definition at line 279 of file serialize.hpp.

◆ read() [9/11]

void std::read ( std::istream &  is,
std::vector< uint8_t > &  value 
)
inline

Definition at line 231 of file serialize.hpp.

◆ read() [10/11]

template<size_t N>
void std::read ( uint8_t const *&  it,
std::array< uint8_t, N > &  value 
)
inline

Definition at line 199 of file serialize.hpp.

◆ read() [11/11]

void std::read ( uint8_t const *&  it,
std::vector< uint8_t > &  value 
)
inline

Definition at line 213 of file serialize.hpp.

◆ to_string() [1/2]

std::string std::to_string ( bb::avm2::ValueTag  tag)
private

Definition at line 399 of file tagged_value.cpp.

◆ to_string() [2/2]

std::string std::to_string ( const bb::avm2::TaggedValue val)
private

Definition at line 422 of file tagged_value.cpp.

◆ write() [1/14]

void std::write ( auto buf,
std::integral auto  value 
)
inline

Definition at line 193 of file serialize.hpp.

◆ write() [2/14]

template<typename B , typename T , size_t N>
void std::write ( B buf,
std::array< T, N > const value 
)
inline

Definition at line 270 of file serialize.hpp.

◆ write() [3/14]

template<typename B , typename T , typename U >
void std::write ( B buf,
std::map< T, U > const value 
)
inline

Definition at line 363 of file serialize.hpp.

◆ write() [4/14]

template<typename B , typename T >
void std::write ( B buf,
std::optional< T > const opt_value 
)
inline

Definition at line 402 of file serialize.hpp.

◆ write() [5/14]

template<typename B , typename T , typename U >
void std::write ( B buf,
std::pair< T, U > const value 
)
inline

Definition at line 325 of file serialize.hpp.

◆ write() [6/14]

template<typename B , typename T >
void std::write ( B buf,
std::shared_ptr< T > const value_ptr 
)
inline

Definition at line 342 of file serialize.hpp.

◆ write() [7/14]

template<typename B >
void std::write ( B buf,
std::string const value 
)
inline

Definition at line 310 of file serialize.hpp.

◆ write() [8/14]

template<typename B , typename T , typename A >
void std::write ( B buf,
std::vector< T, A > const value 
)
inline

Definition at line 291 of file serialize.hpp.

◆ write() [9/14]

template<typename B , HasGetAll T>
void std::write ( B buf,
T const value 
)
inline

Definition at line 391 of file serialize.hpp.

◆ write() [10/14]

template<size_t N>
void std::write ( std::ostream &  os,
std::array< uint8_t, N > const value 
)
inline

Definition at line 255 of file serialize.hpp.

◆ write() [11/14]

void std::write ( std::ostream &  os,
std::vector< uint8_t > const value 
)
inline

Definition at line 240 of file serialize.hpp.

◆ write() [12/14]

template<size_t N>
void std::write ( std::vector< uint8_t > &  buf,
std::array< uint8_t, N > const value 
)
inline

Definition at line 247 of file serialize.hpp.

◆ write() [13/14]

template<size_t N>
void std::write ( uint8_t *&  buf,
std::array< uint8_t, N > const value 
)
inline

Definition at line 206 of file serialize.hpp.

◆ write() [14/14]

void std::write ( uint8_t *&  buf,
std::vector< uint8_t > const value 
)
inline

Definition at line 223 of file serialize.hpp.