35 T* at(
unsigned int pos);
39 void swap(
unsigned int i,
unsigned int j)
override;
69 return reinterpret_cast<T*
>(
wp);
92 const unsigned int n = num();
94 for (
unsigned int i = 0;
i <
n;
i++) {
110 at(
i)->setHeapPosition(
i);
111 at(
j)->setHeapPosition(
j);
121 if (
wp->getHeapPosition() != -1) {
126 last()->setHeapPosition(num() - 1);
136 wp->setHeapPosition(pos);
147 const int i =
wp->getHeapPosition();
159 at(
n - 1)->setHeapPosition(-1);
Container with the ability to detect double inserts.
WEMContainer(WEMContainer &&) noexcept=default
This is the base class for the WEM elements nodes, edges, and faces.
Dynamic templated vector.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.