diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-09-06 23:22:18 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-09-06 23:22:18 +0200 |
commit | def67bba57e7cfdf9942bc2c88a4ce484963f9d2 (patch) | |
tree | a0c2024343151166bebc70440e2adb58c611d409 /asl/annotations.hpp | |
parent | aa427cb5fe7564a85703f14f76f854419274decc (diff) |
maybe_uninit
Diffstat (limited to 'asl/annotations.hpp')
-rw-r--r-- | asl/annotations.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/asl/annotations.hpp b/asl/annotations.hpp index a94834d..c0d8f20 100644 --- a/asl/annotations.hpp +++ b/asl/annotations.hpp @@ -10,3 +10,14 @@ #define ASL_NO_UNIQUE_ADDRESS [[no_unique_address]]
#endif
+namespace asl
+{
+
+struct unsafe
+{
+ unsafe() = delete;
+ explicit unsafe(auto&&) {}
+};
+
+} // namespace asl
+
|