19 explicit NotBut(std::string r) : m_reason(r) {}
20 std::string
reason()
const {
return m_reason; }
24 class Maybe :
public std::optional<T>
27 using BaseT = std::optional<T>;
32 std::string
reason()
const {
return m_reason; }
Maybe(NotBut r)
Definition: maybe.hpp:30
std::string reason() const
Definition: maybe.hpp:32
Maybe(T x)
Definition: maybe.hpp:29
NotBut(std::string r)
Definition: maybe.hpp:19
std::string reason() const
Definition: maybe.hpp:20
Definition: location.hpp:10
Definition: clientutil.hpp:217