diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-04-05 00:00:33 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-04-05 00:00:33 +0200 |
commit | f46b019cb0a2f451234fdb4f20620b7e443da136 (patch) | |
tree | 29a3b0f1441cef9932e0770b155294be55d11e9e /deimos/core/gsl.h | |
parent | 8970c40ce9a9a4e5f582b48f69b77bd90d8e678e (diff) |
Add gsl::owner
Diffstat (limited to 'deimos/core/gsl.h')
-rw-r--r-- | deimos/core/gsl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deimos/core/gsl.h b/deimos/core/gsl.h index 2000f6a..b54fc65 100644 --- a/deimos/core/gsl.h +++ b/deimos/core/gsl.h @@ -6,6 +6,8 @@ namespace gsl using zstring = char*;
using czstring = const char*;
+template<typename T> using owner = T;
+
} // namespace gsl
#define Expects(EXPR) do { if (!(EXPR)) { __builtin_trap(); } } while (0)
|