Skip to content

Commit

Permalink
Add some more missing doc
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-mitchell committed Dec 9, 2024
1 parent 0dea342 commit f3c38cc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/libsemigroups/runner.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,12 @@ namespace libsemigroups {
// Not noexcept because finished_impl isn't
[[nodiscard]] bool finished() const;

// TODO(0) doc
//! \brief Check if run has been run to completion successfully.
//!
//! Returns \c true if \ref run has been run to completion and it was
//! successful. The default implementation is to just call \ref finished.
//!
//! \returns A \c bool.
[[nodiscard]] virtual bool success() const {
return finished();
}
Expand Down

0 comments on commit f3c38cc

Please sign in to comment.