From 36427c0966faa7aecd586b397ed9b845f18172f5 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Mon, 30 Jun 2025 09:10:16 +0100 Subject: more refactoring; add stat() --- nihil.monad/monad.ccm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nihil.monad') diff --git a/nihil.monad/monad.ccm b/nihil.monad/monad.ccm index b462e4c..898f1ee 100644 --- a/nihil.monad/monad.ccm +++ b/nihil.monad/monad.ccm @@ -39,10 +39,10 @@ namespace nihil { */ // An object that starts out unitialized. Initialized by a call to emplace. -template +export template using deferred = std::optional; -template +export template struct return_object_holder { // The staging object that is returned (by copy/move) to the caller of // the coroutine. @@ -95,7 +95,7 @@ struct return_object_holder { } }; -template +export template auto make_return_object_holder(return_object_holder*& p) { return return_object_holder{p}; -- cgit v1.2.3