Vcsn  2.2a
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 431 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 434 of file tuple.hh.

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

Definition at line 433 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 444 of file tuple.hh.

References vcsn::hash_combine(), 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 436 of file tuple.hh.


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