AK: Add AK_MAKE_DEFAULT_COPYABLE

This commit is contained in:
Dan Klishch 2023-10-10 20:48:56 -04:00 committed by Andrew Kaster
parent 7f8d69ee2f
commit 855ea192be
Notes: sideshowbarker 2024-07-17 14:33:07 +09:00

View file

@ -20,3 +20,8 @@ private: \
public: \ public: \
c(c&&) = default; \ c(c&&) = default; \
c& operator=(c&&) = default c& operator=(c&&) = default
#define AK_MAKE_DEFAULT_COPYABLE(c) \
public: \
c(c const&) = default; \
c& operator=(c const&) = default