ProtoBot
Loading...
Searching...
No Matches
SeparationCellHash Struct Reference

Public Member Functions

size_t operator() (const SeparationCell &c) const

Detailed Description

Definition at line 53 of file BOIDS.h.

Member Function Documentation

◆ operator()()

size_t SeparationCellHash::operator() ( const SeparationCell & c) const
inline

Definition at line 54 of file BOIDS.h.

54 {
55 return std::hash<int>()(c.x) ^ (std::hash<int>()(c.y) << 1);
56 }

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