From 53c4dcf374c66f1e9190f5a62a52d02fe11a69e6 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Wed, 16 Oct 2024 22:25:08 -0500 Subject: First crack at allocators. --- include/fud_result.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include/fud_result.hpp') diff --git a/include/fud_result.hpp b/include/fud_result.hpp index 3acf776..5dabaf5 100644 --- a/include/fud_result.hpp +++ b/include/fud_result.hpp @@ -27,6 +27,7 @@ template class [[nodiscard]] Result { public: using ResultType = Result; + static ResultType okay(const T& okay) { return ResultType{okay}; -- cgit v1.2.3