|
CDT++ 1.0.0-rc3
Causal Dynamical Triangulations in C++
|
Typed error returned by move preparation or private execution. More...
#include <Move_outcome.hpp>
Public Member Functions | |
| constexpr auto | message () const noexcept -> std::string_view |
| constexpr auto | move () const noexcept -> move_tracker::MoveType |
| auto | operator== (MoveError const &other) const -> bool=default |
| constexpr auto | reason () const noexcept -> MoveFailure |
Public Attributes | |
| MoveFailure | category |
| Structured rejection or execution-failure category. | |
| move_tracker::MoveType | requested_move |
| Pachner move whose proposal or execution failed. | |
Typed error returned by move preparation or private execution.
The representation is allocation-free. Human-readable text is derived at the presentation boundary rather than stored in the hot path.
Definition at line 36 of file Move_outcome.hpp.
|
inlinenodiscardconstexprnoexcept |
Definition at line 52 of file Move_outcome.hpp.
References category, CAUSAL_INVALIDITY, EXECUTION_FAILURE, INVALID_TOPOLOGY, INVARIANT_VIOLATION, NO_CANDIDATE, STALE_CANDIDATE, and UNKNOWN_MOVE.
|
inlinenodiscardconstexprnoexcept |
Definition at line 48 of file Move_outcome.hpp.
References requested_move.
|
default |
| other | Error to compare. |
|
inlinenodiscardconstexprnoexcept |
Definition at line 44 of file Move_outcome.hpp.
References category.
| MoveFailure cdt::ergodic_moves::MoveError::category |
Structured rejection or execution-failure category.
Definition at line 39 of file Move_outcome.hpp.
| move_tracker::MoveType cdt::ergodic_moves::MoveError::requested_move |
Pachner move whose proposal or execution failed.
Definition at line 41 of file Move_outcome.hpp.
Referenced by move().