ewmscp  ..
Public Member Functions | List of all members
timer::anchor::pointerCompare Class Reference

Public Member Functions

bool operator() (const anchor *lhs, const anchor *rhs) const
 

Detailed Description

Definition at line 30 of file timer.h.

Member Function Documentation

◆ operator()()

bool timer::anchor::pointerCompare::operator() ( const anchor lhs,
const anchor rhs 
) const
inline

Definition at line 32 of file timer.h.

33  {
34  auto cmp = strcmp(lhs->file, rhs->file);
35  if (cmp < 0) {
36  return true;
37  }
38  if (cmp > 0) {
39  return false;
40  }
41  return lhs->line < rhs->line;
42  }

References timer::anchor::file, and timer::anchor::line.


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