Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
UintTraits< T > Struct Template Reference

#include <uint_mutations.hpp>

Static Public Member Functions

static constexpr T mask ()
 

Static Public Attributes

static constexpr bool has_mask = false
 

Detailed Description

template<typename T>
struct UintTraits< T >

Generic template-based mechanisms for deterministically mutating uint types and generating new random uints Types of mutations applied:

  1. Random (randomly select a new value)
  2. Increment by 1
  3. Decrement by 1
  4. Add a random value

Definition at line 21 of file uint_mutations.hpp.

Member Function Documentation

◆ mask()

template<typename T >
static constexpr T UintTraits< T >::mask ( )
inlinestaticconstexpr

Definition at line 23 of file uint_mutations.hpp.

Member Data Documentation

◆ has_mask

template<typename T >
constexpr bool UintTraits< T >::has_mask = false
staticconstexpr

Definition at line 22 of file uint_mutations.hpp.


The documentation for this struct was generated from the following file: