OR-Tools  8.2
hash< std::array< T, N > >

Detailed Description

template<class T, std::size_t N>
struct std::hash< std::array< T, N > >

Definition at line 126 of file hash.h.

Public Member Functions

size_t operator() (const std::array< T, N > &t) const
 
bool operator() (const std::array< T, N > &a, const std::array< T, N > &b) const
 

Static Public Attributes

static const size_t bucket_size = 4
 
static const size_t min_buckets = 8
 

Member Function Documentation

◆ operator()() [1/2]

bool operator() ( const std::array< T, N > &  a,
const std::array< T, N > &  b 
) const
inline

Definition at line 138 of file hash.h.

◆ operator()() [2/2]

size_t operator() ( const std::array< T, N > &  t) const
inline

Definition at line 128 of file hash.h.

Member Data Documentation

◆ bucket_size

const size_t bucket_size = 4
static

Definition at line 141 of file hash.h.

◆ min_buckets

const size_t min_buckets = 8
static

Definition at line 142 of file hash.h.


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