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

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

#include <nfa.h>

Public Member Functions

size_t operator() (std::reference_wrapper< std::string const > const &ref) const
 Delegates hashing to referenced objects. More...
 

Detailed Description

Provides std::unordered_set::hash_function for state_set.

Definition at line 120 of file nfa.h.

Member Function Documentation

◆ operator()()

size_t reg::nfa::hash_reference_string_const::operator() ( std::reference_wrapper< std::string const > const &  ref) const
inline

Delegates hashing to referenced objects.

Definition at line 122 of file nfa.h.

122  {
123  return std::hash<std::string>()(ref.get());
124  }
T ref(T... args)

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