Skip to content

Commit

Permalink
Add TACTILE_DEFAULT_ALL macro
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-johansson committed Apr 9, 2024
1 parent 03e36d5 commit 2da4073
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/base/inc/tactile/base/prelude.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@
Name::Name(Name&&) noexcept = default; \
auto Name::operator=(Name&&) noexcept -> Name& = default

#define TACTILE_DEFAULT_ALL(Name) \
Name() = default; \
TACTILE_DEFAULT_COPY(Name); \
TACTILE_DEFAULT_MOVE(Name); \
~Name() noexcept = default

#define TACTILE_INTERFACE_CLASS(Name) \
\
protected: \
Expand Down

0 comments on commit 2da4073

Please sign in to comment.