diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-01-05 15:25:45 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-01-05 15:25:45 +0100 |
commit | 8607772d4f9e21f53c1abfd9379737403b97f430 (patch) | |
tree | fcd5a5030bb1cc0ba4dd4069a0d7174a67791c03 /asl/utility.hpp | |
parent | b53fc9038f4579974c9eea28e82b693a7fd66522 (diff) |
Fix a few mistakes in option, and make it trivial when possible
Diffstat (limited to 'asl/utility.hpp')
-rw-r--r-- | asl/utility.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/asl/utility.hpp b/asl/utility.hpp index 69838e5..4f27017 100644 --- a/asl/utility.hpp +++ b/asl/utility.hpp @@ -11,6 +11,9 @@ namespace asl
{
+struct in_place_t {};
+static constexpr in_place_t in_place{};
+
template<moveable T>
constexpr void swap(T& a, T& b)
{
|