Libsockcanpp
A complete C++ wrapper around socketcan.
Loading...
Searching...
No Matches
Public Member Functions
sockcanpp::CanIdHasher Struct Reference

Implements a hash function for the CanId type. More...

#include <CanId.hpp>

Public Member Functions

size_t operator() (const CanId &id) const
 

Detailed Description

Implements a hash function for the CanId type.

Definition at line 265 of file CanId.hpp.

Member Function Documentation

◆ operator()()

size_t sockcanpp::CanIdHasher::operator() ( const CanId id) const
inline

Definition at line 267 of file CanId.hpp.

267{ return std::hash<canid_t>()(*id); }

References sockcanpp::CanId::operator*().


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