[*] Something about quacking like a duck
This commit is contained in:
parent
9567792a04
commit
4fb09a68e9
@ -64,4 +64,19 @@ struct AuResult
|
||||
{
|
||||
return this->success;
|
||||
}
|
||||
|
||||
bool has_value() const
|
||||
{
|
||||
return this->success;
|
||||
}
|
||||
|
||||
const T &value() const
|
||||
{
|
||||
return type;
|
||||
}
|
||||
|
||||
T &value()
|
||||
{
|
||||
return type;
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user