Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 <hash.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 26 of file hash.hh.

Member Typedef Documentation

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

Definition at line 30 of file hash.hh.

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

Definition at line 29 of file hash.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 32 of file hash.hh.


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