reglibcpp  1.6.0
(Naïve) C++ implementation of models for regular languages
Public Member Functions | List of all members
reg::nfa::equal_to_reference_string_const Struct Reference

Provides std::unordered_set::key_eq for state_set. More...

#include <nfa.h>

Public Member Functions

bool operator() (std::reference_wrapper< std::string const > const &lhs, std::reference_wrapper< std::string const > const &rhs) const
 Delegates equality check to referenced objects. More...
 

Detailed Description

Provides std::unordered_set::key_eq for state_set.

Definition at line 127 of file nfa.h.

Member Function Documentation

◆ operator()()

bool reg::nfa::equal_to_reference_string_const::operator() ( std::reference_wrapper< std::string const > const &  lhs,
std::reference_wrapper< std::string const > const &  rhs 
) const
inline

Delegates equality check to referenced objects.

Definition at line 129 of file nfa.h.

129  {
130  return lhs.get() == rhs.get();
131  }

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