KiCad PCB EDA Suite
std::less< wxPoint > Struct Template Reference

#include <common.h>

Public Member Functions

bool operator() (const wxPoint &aA, const wxPoint &aB) const
 

Detailed Description

template<>
struct std::less< wxPoint >

Definition at line 366 of file common.h.

Member Function Documentation

bool std::less< wxPoint >::operator() ( const wxPoint aA,
const wxPoint aB 
) const

Definition at line 392 of file common.cpp.

References wxPoint::x, and wxPoint::y.

393 {
394  if( aA.x == aB.x )
395  return aA.y < aB.y;
396 
397  return aA.x < aB.x;
398 }

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