Vcsn  2.8
Be Rational
vcsn::detail::compare< ValueSet, Value > Struct Template Reference

Functor to three-way comparison Values of ValueSets. More...

#include <functional.hh>

Collaboration diagram for vcsn::detail::compare< ValueSet, Value >:

Public Types

using valueset_t = ValueSet
 
using value_t = Value
 

Public Member Functions

int operator() (const value_t &lhs, const value_t &rhs) const
 

Detailed Description

template<typename ValueSet, typename Value = typename ValueSet::value_t>
struct vcsn::detail::compare< ValueSet, Value >

Functor to three-way comparison Values of ValueSets.

Definition at line 11 of file functional.hh.

Member Typedef Documentation

◆ value_t

template<typename ValueSet , typename Value = typename ValueSet::value_t>
using vcsn::detail::compare< ValueSet, Value >::value_t = Value

Definition at line 14 of file functional.hh.

◆ valueset_t

template<typename ValueSet , typename Value = typename ValueSet::value_t>
using vcsn::detail::compare< ValueSet, Value >::valueset_t = ValueSet

Definition at line 13 of file functional.hh.

Member Function Documentation

◆ operator()()

template<typename ValueSet , typename Value = typename ValueSet::value_t>
int vcsn::detail::compare< ValueSet, Value >::operator() ( const value_t lhs,
const value_t rhs 
) const
inline

Definition at line 16 of file functional.hh.

References vcsn::compare().

Here is the call graph for this function:

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