5#include "sortedArray.hpp"
29 static_assert(std::is_pointer<T>::value,
"Template must be of pointer type.");
106 template <
typename...
Args>
A wrapper for std::vector.
Definition array.hpp:72
void init(const T &arg1)
Helper function for single object initialization.
Definition array.hpp:81
An extension of the core::array class which attempts to keep all data sorted.
Definition sortedArray.hpp:18
An extension of the core::sortedArray class, specialized for pointers.
Definition sortedRefArray.hpp:26
virtual bool eq(const T &arg1, const T &arg2) const override
Check if two objects are equal.
Definition sortedRefArray.hpp:44
virtual bool lt(const T &arg1, const T &arg2) const override
Check if one object is less than another.
Definition sortedRefArray.hpp:82
virtual bool operator()(const T &arg1, const T &arg2) const override
Callable operator.
Definition sortedRefArray.hpp:120
virtual bool gt(const T &arg1, const T &arg2) const override
Check if one object is greater than another.
Definition sortedRefArray.hpp:60
sortedRefArray(const T &arg1, const Args &...args)
List-initialized constructor.
Definition sortedRefArray.hpp:107
sortedRefArray()
Default constructor.
Definition sortedRefArray.hpp:94