GG
|
#include <ListBox.h>
Public Member Functions | |
bool | operator() (const Row &lhs, const Row &rhs, std::size_t column) const |
Sorts two Rows of a ListBox using operator<() on the Row::SortKeyType provided by the rows' SortKey() methods.
If you want to use operator<() with a Row subclass DerivedRow that has a custom SortKeyType, use DefaultRowCmp<DerivedRow>.
bool GG::ListBox::DefaultRowCmp< RowType >::operator() | ( | const Row & | lhs, |
const Row & | rhs, | ||
std::size_t | column | ||
) | const |