From 8607772d4f9e21f53c1abfd9379737403b97f430 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Sun, 5 Jan 2025 15:25:45 +0100 Subject: Fix a few mistakes in option, and make it trivial when possible --- asl/utility.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'asl/utility.hpp') 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 constexpr void swap(T& a, T& b) { -- cgit