diff options
Diffstat (limited to 'include/fud_result.hpp')
-rw-r--r-- | include/fud_result.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 <typename T, typename E> class [[nodiscard]] Result { public: using ResultType = Result<T, E>; + static ResultType okay(const T& okay) { return ResultType{okay}; |