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

struct std::less< wxPoint >

Definition at line 381 of file common.h.

Member Function Documentation

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

Definition at line 554 of file common.cpp.

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

555 {
556  if( aA.x == aB.x )
557  return aA.y < aB.y;
559  return aA.x < aB.x;
560 }

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