#include <boxchar.h>
Definition at line 121 of file boxchar.h.
◆ operator()()
bool tesseract::BoxCharPtrSort::operator() |
( |
const BoxChar * |
box1, |
|
|
const BoxChar * |
box2 |
|
) |
| const |
|
inline |
Definition at line 122 of file boxchar.h.
123 bool operator()(
const BoxChar* box1,
const BoxChar* box2)
const {
124 if (box1->rtl_index() >= 0 && box2->rtl_index() >= 0)
125 return box2->rtl_index() < box1->rtl_index();
126 return *box1 < *box2;
The documentation for this struct was generated from the following file: