basic_sigh_mixin: rule of five

This commit is contained in:
Michele Caini
2024-05-23 08:24:58 +02:00
parent 0bd37df6f3
commit 55637a7284

View File

@@ -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.