![]() |
MySQL 8.0.43
Source Code Documentation
|
Utility to allow returning values from functions which can fail (until we have std::optional). More...
#include <template_utils.h>
Public Attributes | |
| VALUE_TYPE | value |
| Value returned from function in the normal case. More... | |
| bool | error |
| True if an error occurred. More... | |
Utility to allow returning values from functions which can fail (until we have std::optional).
| bool ReturnValueOrError< VALUE_TYPE >::error |
True if an error occurred.
| VALUE_TYPE ReturnValueOrError< VALUE_TYPE >::value |
Value returned from function in the normal case.