Electroneum
cryptonote::array_hasher< t_array > Struct Template Reference

#include <cryptonote_basic_impl.h>

Inheritance diagram for cryptonote::array_hasher< t_array >:
Collaboration diagram for cryptonote::array_hasher< t_array >:

Public Member Functions

std::size_t operator() (const t_array &val) const
 

Detailed Description

template<class t_array>
struct cryptonote::array_hasher< t_array >

Definition at line 44 of file cryptonote_basic_impl.h.

Member Function Documentation

◆ operator()()

template<class t_array >
std::size_t cryptonote::array_hasher< t_array >::operator() ( const t_array &  val) const
inline

Definition at line 46 of file cryptonote_basic_impl.h.

47  {
48  return boost::hash_range(&val.data[0], &val.data[sizeof(val.data)]);
49  }

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