mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-16 22:17:02 +07:00
tests cleanup
This commit is contained in:
@@ -11,24 +11,20 @@ namespace
|
||||
struct clazz_throw_dtor {
|
||||
int i{};
|
||||
|
||||
[[maybe_unused]]
|
||||
clazz_throw_dtor() {
|
||||
++constructor_counter;
|
||||
}
|
||||
|
||||
[[maybe_unused]]
|
||||
clazz_throw_dtor(int ni) : i{ni} {
|
||||
++constructor_counter;
|
||||
}
|
||||
|
||||
[[maybe_unused]]
|
||||
clazz_throw_dtor(clazz_throw_dtor&& other)
|
||||
: i{other.i} {
|
||||
other.i = 0;
|
||||
++move_constructor_counter;
|
||||
}
|
||||
|
||||
[[maybe_unused]]
|
||||
clazz_throw_dtor(const clazz_throw_dtor& other)
|
||||
: i{other.i} {
|
||||
++copy_constructor_counter;
|
||||
|
||||
Reference in New Issue
Block a user