Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
tuplet::pair< First, Second > Struct Template Reference

#include <tuplet.hpp>

Public Member Functions

TUPLET_INLINE constexpr decltype(autooperator[] (tag< 0 >) &
 
TUPLET_INLINE constexpr decltype(autooperator[] (tag< 0 >) const &
 
TUPLET_INLINE constexpr decltype(autooperator[] (tag< 0 >) &&
 
TUPLET_INLINE constexpr decltype(autooperator[] (tag< 1 >) &
 
TUPLET_INLINE constexpr decltype(autooperator[] (tag< 1 >) const &
 
TUPLET_INLINE constexpr decltype(autooperator[] (tag< 1 >) &&
 
TUPLET_INLINE void swap (pair &other) noexcept(nothrow_swappable)
 
template<TUPLET_OTHER_THAN(pair, Type) >
TUPLET_INLINE constexpr autooperator= (Type &&tup)
 
template<TUPLET_WEAK_CONCEPT(assignable_to< First >) F2, TUPLET_WEAK_CONCEPT(assignable_to< Second >) S2>
TUPLET_INLINE constexpr autoassign (F2 &&f, S2 &&s)
 
TUPLET_INLINE constexpr bool operator== (pair const &other) const
 
TUPLET_INLINE constexpr bool operator!= (pair const &other) const
 
TUPLET_INLINE constexpr bool operator< (pair const &other) const
 
TUPLET_INLINE constexpr bool operator<= (pair const &other) const
 
TUPLET_INLINE constexpr bool operator> (pair const &other) const
 
TUPLET_INLINE constexpr bool operator>= (pair const &other) const
 

Public Attributes

TUPLET_NO_UNIQUE_ADDRESS First first
 
TUPLET_NO_UNIQUE_ADDRESS Second second
 

Static Public Attributes

static constexpr size_t N = 2
 
static constexpr bool nothrow_swappable = std::is_nothrow_swappable_v<First> && std::is_nothrow_swappable_v<Second>
 

Detailed Description

template<class First, class Second>
struct tuplet::pair< First, Second >

Definition at line 914 of file tuplet.hpp.

Member Function Documentation

◆ assign()

template<class First , class Second >
TUPLET_INLINE constexpr auto & tuplet::pair< First, Second >::assign ( F2 &&  f,
S2 &&  s 
)
inlineconstexpr

Definition at line 944 of file tuplet.hpp.

◆ operator!=()

template<class First , class Second >
TUPLET_INLINE constexpr bool tuplet::pair< First, Second >::operator!= ( pair< First, Second > const other) const
inlineconstexpr

Definition at line 959 of file tuplet.hpp.

◆ operator<()

template<class First , class Second >
TUPLET_INLINE constexpr bool tuplet::pair< First, Second >::operator< ( pair< First, Second > const other) const
inlineconstexpr

Definition at line 960 of file tuplet.hpp.

◆ operator<=()

template<class First , class Second >
TUPLET_INLINE constexpr bool tuplet::pair< First, Second >::operator<= ( pair< First, Second > const other) const
inlineconstexpr

Definition at line 966 of file tuplet.hpp.

◆ operator=()

template<class First , class Second >
template<TUPLET_OTHER_THAN(pair, Type) >
TUPLET_INLINE constexpr auto & tuplet::pair< First, Second >::operator= ( Type &&  tup)
inlineconstexpr

Definition at line 935 of file tuplet.hpp.

◆ operator==()

template<class First , class Second >
TUPLET_INLINE constexpr bool tuplet::pair< First, Second >::operator== ( pair< First, Second > const other) const
inlineconstexpr

Definition at line 955 of file tuplet.hpp.

◆ operator>()

template<class First , class Second >
TUPLET_INLINE constexpr bool tuplet::pair< First, Second >::operator> ( pair< First, Second > const other) const
inlineconstexpr

Definition at line 973 of file tuplet.hpp.

◆ operator>=()

template<class First , class Second >
TUPLET_INLINE constexpr bool tuplet::pair< First, Second >::operator>= ( pair< First, Second > const other) const
inlineconstexpr

Definition at line 979 of file tuplet.hpp.

◆ operator[]() [1/6]

template<class First , class Second >
TUPLET_INLINE constexpr decltype(auto) tuplet::pair< First, Second >::operator[] ( tag< 0 >  ) &
inlineconstexpr

Definition at line 920 of file tuplet.hpp.

◆ operator[]() [2/6]

template<class First , class Second >
TUPLET_INLINE constexpr decltype(auto) tuplet::pair< First, Second >::operator[] ( tag< 0 >  ) &&
inlineconstexpr

Definition at line 922 of file tuplet.hpp.

◆ operator[]() [3/6]

template<class First , class Second >
TUPLET_INLINE constexpr decltype(auto) tuplet::pair< First, Second >::operator[] ( tag< 0 >  ) const &
inlineconstexpr

Definition at line 921 of file tuplet.hpp.

◆ operator[]() [4/6]

template<class First , class Second >
TUPLET_INLINE constexpr decltype(auto) tuplet::pair< First, Second >::operator[] ( tag< 1 >  ) &
inlineconstexpr

Definition at line 923 of file tuplet.hpp.

◆ operator[]() [5/6]

template<class First , class Second >
TUPLET_INLINE constexpr decltype(auto) tuplet::pair< First, Second >::operator[] ( tag< 1 >  ) &&
inlineconstexpr

Definition at line 925 of file tuplet.hpp.

◆ operator[]() [6/6]

template<class First , class Second >
TUPLET_INLINE constexpr decltype(auto) tuplet::pair< First, Second >::operator[] ( tag< 1 >  ) const &
inlineconstexpr

Definition at line 924 of file tuplet.hpp.

◆ swap()

template<class First , class Second >
TUPLET_INLINE void tuplet::pair< First, Second >::swap ( pair< First, Second > &  other)
inlinenoexcept

Definition at line 927 of file tuplet.hpp.

Member Data Documentation

◆ first

Definition at line 917 of file tuplet.hpp.

◆ N

template<class First , class Second >
constexpr size_t tuplet::pair< First, Second >::N = 2
staticconstexpr

Definition at line 915 of file tuplet.hpp.

◆ nothrow_swappable

Definition at line 916 of file tuplet.hpp.

◆ second

Definition at line 918 of file tuplet.hpp.


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