refactor: Remove unused Span alias

Also, fixup some wording.
This commit is contained in:
MarcoFalke
2024-12-18 17:12:13 +01:00
parent fade0b5e5e
commit fa0c6b7179
6 changed files with 23 additions and 36 deletions

View File

@@ -593,7 +593,7 @@ private:
* child. It can modify the state. Children of a given node will have downfn()
* called in order.
* - upfn is a callable (State&&, const Node&, std::span<Result>) -> std::optional<Result>,
* which given a node, its state, and a std::span of the results of its children,
* which given a node, its state, and a span of the results of its children,
* computes the result of the node. If std::nullopt is returned by upfn,
* TreeEvalMaybe() immediately returns std::nullopt.
* The return value of TreeEvalMaybe is the result of the root node.