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

#include <wx_stl_compat.h>

Public Member Functions

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

Detailed Description

template<>
struct std::less< wxPoint >

Definition at line 52 of file wx_stl_compat.h.

Member Function Documentation

◆ operator()()

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

Definition at line 42 of file wx_stl_compat.cpp.

43 {
44  if( aA.x == aB.x )
45  return aA.y < aB.y;
46 
47  return aA.x < aB.x;
48 }

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