Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Public Member Functions
ip_address_hash Struct Reference

#include <session.hpp>

Public Member Functions

size_t operator() (const boost::asio::ip::address &v) const
 

Detailed Description

Hash function for a tcp ip address in boost, passed into the multi_index container down below. Borrowed from: https://stackoverflow.com/questions/22746359/unordered-map-with-ip-address-as-a-key

Member Function Documentation

◆ operator()()

size_t ip_address_hash::operator() ( const boost::asio::ip::address &  v) const
inline

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