#include <suggestions.hh>
Public Types | |
using | Raw = std::variant<T, Suggestions> |
Public Member Functions | |
T * | operator-> () |
T & | operator* () |
operator bool () const noexcept | |
OrSuggestions (T t) | |
const Suggestions & | getSuggestions () |
Static Public Member Functions | |
static OrSuggestions< T > | failed (const Suggestions &s) |
static OrSuggestions< T > | failed () |
Public Attributes | |
Raw | raw |
Either a value of type T
, or some suggestions