From def67bba57e7cfdf9942bc2c88a4ce484963f9d2 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic <steven.lerouzic@gmail.com> Date: Fri, 6 Sep 2024 23:22:18 +0200 Subject: maybe_uninit --- asl/annotations.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'asl/annotations.hpp') 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 + -- cgit