|
LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
|
#include <Result.hpp>

Public Member Functions | |
| bool | isOk () const noexcept |
| bool | isErr () const noexcept |
| operator bool () const noexcept | |
| T | unwrap () |
| T | unwrapOr (T defaultValue) const |
| template<typename F > | |
| T | unwrapOrElse (F &&fn) |
| const E & | error () const |
| template<typename F > | |
| auto | map (F &&fn) |
| template<typename F > | |
| auto | mapErr (F &&fn) |
| template<typename F > | |
| auto | andThen (F &&fn) -> std::invoke_result_t< F, T > |
| template<typename F > | |
| Result | orElse (F &&fn) |
| std::optional< T > | ok () const |
| std::optional< E > | err () const |
Static Public Member Functions | |
| static Result | Ok (T value) |
| static Result | Err (E error) |
Private Member Functions | |
| Result (std::expected< T, E > data) | |
Private Attributes | |
| std::expected< T, E > | m_data |
A Result<T,E> type backed by std::expected<T,E> (C++23). Carries either a success value (Ok) or an error (Err).
|
inlineexplicitprivate |
|
inline |
|
inline |
|
inlinestatic |

|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |

|
inline |

|
inline |
|
inlinestatic |

|
inlineexplicitnoexcept |
|
inline |

|
inline |
|
inline |
|
inline |
|
private |