KiCad PCB EDA Suite
std::hash< PTR_PTR_CACHE_KEY > Struct Reference

#include <board.h>

Public Member Functions

std::size_t operator() (const PTR_PTR_CACHE_KEY &k) const
 

Detailed Description

Definition at line 105 of file board.h.

Member Function Documentation

◆ operator()()

std::size_t std::hash< PTR_PTR_CACHE_KEY >::operator() ( const PTR_PTR_CACHE_KEY k) const
inline

Definition at line 107 of file board.h.

108 {
109 std::size_t seed = 0xa82de1c0;
110 hash_combine( seed, k.A, k.B );
111 return seed;
112 }
static void hash_combine(std::size_t &seed)
This is a dummy function to take the final case of hash_combine below.
Definition: hash.h:34
BOARD_ITEM * A
Definition: board.h:70
BOARD_ITEM * B
Definition: board.h:71

References PTR_PTR_CACHE_KEY::A, PTR_PTR_CACHE_KEY::B, and hash_combine().


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