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 381 of file common.h.

Member Function Documentation

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

Definition at line 579 of file common.cpp.

580 {
581  if( aA.x == aB.x )
582  return aA.y < aB.y;
583 
584  return aA.x < aB.x;
585 }

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