Skyward boardcore
Loading...
Searching...
No Matches
Boardcore::GpioPinCompare Struct Reference

Comparison operator between GpioPins used for std::map. More...

#include <GpioPinCompare.h>

Public Member Functions

bool operator() (const miosix::GpioPin &lhs, const miosix::GpioPin &rhs) const
 

Detailed Description

Comparison operator between GpioPins used for std::map.

This function was implemented to use GpioPin as a map key. Check here for more explanation: https://stackoverflow.com/questions/1102392/how-can-i-use-stdmaps-with-user-defined-types-as-key

Definition at line 37 of file GpioPinCompare.h.

Member Function Documentation

◆ operator()()

bool Boardcore::GpioPinCompare::operator() ( const miosix::GpioPin & lhs,
const miosix::GpioPin & rhs ) const
inline

Definition at line 39 of file GpioPinCompare.h.


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