ug4
|
Instances can be used as compare operators, e.g., for std::sort. More...
#include <attachment_util.h>
Public Member Functions | |
CompareByAttachment (Grid &g, TAttachment &aGID) | |
bool | operator() (TElem *e1, TElem *e2) |
Private Attributes | |
Grid::AttachmentAccessor< TElem, TAttachment > | m_aaGID |
Instances can be used as compare operators, e.g., for std::sort.
Make sure that the specified attachment is attached to the elements of the given grid and that a < operator is defined for the attached values!
|
inline |
|
inline |
|
private |