diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-08-15 23:35:01 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-08-15 23:35:01 +0200 |
commit | 4ad4091b38faa39ddd2deae7455bd3a26531994f (patch) | |
tree | 689496332edb2210ed1500c64f9bcdb2c3926f78 /asl/object.hpp | |
parent | 03e5d14ed191a5a600c7b9f6c33bb2b12fdd5eac (diff) |
Some work on object & init-related traits
Diffstat (limited to 'asl/object.hpp')
-rw-r--r-- | asl/object.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/asl/object.hpp b/asl/object.hpp index 936cd25..e45376d 100644 --- a/asl/object.hpp +++ b/asl/object.hpp @@ -12,6 +12,15 @@ class object final ASL_NO_UNIQUE_ADDRESS wrapped m_value;
public:
+ object() requires default_constructible<wrapped> = default;
+
+ object(const object&) = default;
+ object(object&&) = default;
+
+ object& operator=(const object&) = default;
+ object& operator=(object&&) = default;
+
+ ~object() = default;
};
} // namespace asl
|