summaryrefslogtreecommitdiff
path: root/asl/annotations.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-09-06 23:22:18 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-09-06 23:22:18 +0200
commitdef67bba57e7cfdf9942bc2c88a4ce484963f9d2 (patch)
treea0c2024343151166bebc70440e2adb58c611d409 /asl/annotations.hpp
parentaa427cb5fe7564a85703f14f76f854419274decc (diff)
maybe_uninit
Diffstat (limited to 'asl/annotations.hpp')
-rw-r--r--asl/annotations.hpp11
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
+