DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::vector_hash< T > Struct Template Reference

Hash functor for std::vector<T>, combining element hashes via XOR. More...

#include <Defines.hpp>

Public Member Functions

std::size_t operator() (const std::vector< T > &v) const noexcept
 
template<class TBegin , class TEnd >
std::size_t operator() (TBegin &&begin, TEnd &&end) const noexcept
 

Detailed Description

template<typename T>
struct DNDS::vector_hash< T >

Hash functor for std::vector<T>, combining element hashes via XOR.

Definition at line 809 of file Defines.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename T >
std::size_t DNDS::vector_hash< T >::operator() ( const std::vector< T > &  v) const
inlinenoexcept

Definition at line 811 of file Defines.hpp.

Here is the call graph for this function:

◆ operator()() [2/2]

template<typename T >
template<class TBegin , class TEnd >
std::size_t DNDS::vector_hash< T >::operator() ( TBegin &&  begin,
TEnd &&  end 
) const
inlinenoexcept

Definition at line 829 of file Defines.hpp.

Here is the call graph for this function:

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