summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-03-28 01:18:50 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-03-28 01:18:50 +0000
commitb710db753c92522f9acfbef4a02b440e4178b067 (patch)
tree30ffc1e811959ea05821d9636bcefc329fce0e80
parentFix up removeAll and test with more complex hierarchy (diff)
downloadilt-b710db753c92522f9acfbef4a02b440e4178b067.tar.bz2
ilt-b710db753c92522f9acfbef4a02b440e4178b067.tar.xz
ilt-b710db753c92522f9acfbef4a02b440e4178b067.zip
Add standard special members
-rw-r--r--lib/collection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/collection.h b/lib/collection.h
index 5f39e71..91a36c2 100644
--- a/lib/collection.h
+++ b/lib/collection.h
@@ -3,13 +3,17 @@
#include <algorithm>
#include <functional>
#include <memory>
+#include <special_members.h>
#include <type_traits>
#include <vector>
template<typename Ptr, typename... Others> class Collection {
public:
+ Collection() = default;
virtual ~Collection() = default;
+ DEFAULT_MOVE_NO_COPY(Collection);
+
using Object = Ptr::element_type;
using Objects = std::vector<Ptr>;
template<typename T> using OtherObjects = std::vector<T *>;