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

Public Member Functions

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

Detailed Description

Definition at line 91 of file pns_kicad_iface.cpp.

Member Function Documentation

◆ operator()()

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

Definition at line 93 of file pns_kicad_iface.cpp.

94 {
95 return hash<const void*>()( k.A ) ^ hash<const void*>()( k.B ) ^ hash<int>()( k.Flag );
96 }
const PNS::ITEM * A
const PNS::ITEM * B

References CLEARANCE_CACHE_KEY::A, CLEARANCE_CACHE_KEY::B, and CLEARANCE_CACHE_KEY::Flag.


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