Vcsn  2.3
Be Rational
std::hash< std::tuple< Elements... > > Struct Template Reference

#include <tuple.hh>

Collaboration diagram for std::hash< std::tuple< Elements... > >:

Public Types

using value_t = std::tuple< Elements... >
 
using indices_t = vcsn::detail::make_index_sequence< sizeof...(Elements)>
 

Public Member Functions

std::size_t operator() (const value_t &v) const
 

Static Private Member Functions

template<std::size_t... I>
static std::size_t hash_ (const value_t &v, vcsn::detail::index_sequence< I... >)
 

Detailed Description

template<typename... Elements>
struct std::hash< std::tuple< Elements... > >

Definition at line 484 of file tuple.hh.

Member Typedef Documentation

template<typename... Elements>
using std::hash< std::tuple< Elements... > >::indices_t = vcsn::detail::make_index_sequence<sizeof...(Elements)>

Definition at line 487 of file tuple.hh.

template<typename... Elements>
using std::hash< std::tuple< Elements... > >::value_t = std::tuple<Elements...>

Definition at line 486 of file tuple.hh.

Member Function Documentation

template<typename... Elements>
template<std::size_t... I>
static std::size_t std::hash< std::tuple< Elements... > >::hash_ ( const value_t v,
vcsn::detail::index_sequence< I... >   
)
inlinestaticprivate

Definition at line 497 of file tuple.hh.

References vcsn::hash_combine(), vcsn::res, and vcsn::detail::void.

Here is the call graph for this function:

template<typename... Elements>
std::size_t std::hash< std::tuple< Elements... > >::operator() ( const value_t v) const
inline

Definition at line 489 of file tuple.hh.


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