Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

Commit e4111ab

Browse files
committed
add todo to Result::or_else
1 parent a6310ab commit e4111ab

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

include/common/result.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,10 @@ class Result {
362362
* may be passed to it. The normal value type of the Result returned by the callable must be the
363363
* same as the normal value type of this Result instance.
364364
*
365+
* TODO:
366+
* allow callables that return void
367+
* allow callables that can only take some error types
368+
*
365369
* @tparam Self deduced self type
366370
* @tparam F the type of the callable
367371
* @param self the current Result instance

0 commit comments

Comments
 (0)