Vcsn  2.4
Be Rational
vcsn::equal_to< ValueSet > Class Template Reference

This is useful to make hashes with labels or weights as keys without using non-default constructors; to be used along with vcsn::hash. More...

#include <functional.hh>

Inheritance diagram for vcsn::equal_to< ValueSet >:
Collaboration diagram for vcsn::equal_to< ValueSet >:

Public Types

using valueset_t = ValueSet
 
using value_t = typename valueset_t::value_t
 

Public Member Functions

bool operator() (const value_t &v1, const value_t &v2) const
 

Detailed Description

template<typename ValueSet>
class vcsn::equal_to< ValueSet >

This is useful to make hashes with labels or weights as keys without using non-default constructors; to be used along with vcsn::hash.

Definition at line 12 of file functional.hh.

Member Typedef Documentation

template<typename ValueSet >
using vcsn::equal_to< ValueSet >::value_t = typename valueset_t::value_t

Definition at line 16 of file functional.hh.

template<typename ValueSet >
using vcsn::equal_to< ValueSet >::valueset_t = ValueSet

Definition at line 15 of file functional.hh.

Member Function Documentation

template<typename ValueSet >
bool vcsn::equal_to< ValueSet >::operator() ( const value_t v1,
const value_t v2 
) const
inline

Definition at line 18 of file functional.hh.


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