Class Result<T, E>

#include <Geode/utils/Result.hpp>
classResult<T, E>:publiccpp::bitwizeshift::result<T,E>{ ... }
No description provided
Examples0
Public static methods0
Public member functions14
boolisOk()const
No description provided
boolisErr()const
No description provided
autounwrap()
No description provided
autounwrap()const
No description provided
autounwrap()
No description provided
autounwrap()const
No description provided
autounwrapErr()
No description provided
autounwrapErr()const
No description provided
autounwrapErr()
No description provided
autounwrapErr()const
No description provided
std::optional<T>ok()const

Convert the result into an optional containing the value if Ok, and nullopt if Err

std::optional<T>ok()

Convert the result into an optional containing the value if Ok, and nullopt if Err

std::optional<E>err()const

Convert the result into an optional containing the error if Err, and nullopt if Ok

std::optional<E>err()

Convert the result into an optional containing the error if Err, and nullopt if Ok

Fields0
Protected member functions0
Protected fields0