From b710db753c92522f9acfbef4a02b440e4178b067 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe <dan@randomdan.homeip.net> Date: Fri, 28 Mar 2025 01:18:50 +0000 Subject: Add standard special members --- lib/collection.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') 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 *>; -- cgit v1.2.3