basic_sigh_mixin: rule of five
This commit is contained in:
@@ -111,6 +111,9 @@ public:
|
||||
destruction{allocator},
|
||||
update{allocator} {}
|
||||
|
||||
/*! @brief Default copy constructor, deleted on purpose. */
|
||||
basic_sigh_mixin(const basic_sigh_mixin &) = delete;
|
||||
|
||||
/**
|
||||
* @brief Move constructor.
|
||||
* @param other The instance to move from.
|
||||
@@ -137,6 +140,12 @@ public:
|
||||
/*! @brief Default destructor. */
|
||||
~basic_sigh_mixin() noexcept override = default;
|
||||
|
||||
/**
|
||||
* @brief Default copy assignment operator, deleted on purpose.
|
||||
* @return This mixin.
|
||||
*/
|
||||
basic_sigh_mixin &operator=(const basic_sigh_mixin &) = delete;
|
||||
|
||||
/**
|
||||
* @brief Move assignment operator.
|
||||
* @param other The instance to move from.
|
||||
|
||||
Reference in New Issue
Block a user