Clearmatics Libsnark  0.1
C++ library for zkSNARK proofs
Public Member Functions | List of all members
gadgetlib2::Variable::VariableStrictOrder Struct Reference

#include <variable.hpp>

Public Member Functions

bool operator() (const Variable &first, const Variable &second) const
 

Detailed Description

A functor for strict ordering of Variables. Needed for STL containers. This is not an ordering of Variable assignments and has no semantic meaning.

Definition at line 329 of file variable.hpp.

Member Function Documentation

◆ operator()()

bool gadgetlib2::Variable::VariableStrictOrder::operator() ( const Variable first,
const Variable second 
) const
inline

Definition at line 330 of file variable.hpp.

331  {
332  return first.index_ < second.index_;
333  }

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