| 33 | std::optional{ std::get<uint64_t>(integral_) } : std::nullopt; |
| 34 | } |
| 35 | std::optional<int64_t> ErrorCode::AsSigned() const { |
| 36 | return HasSigned() ? |
| 37 | std::optional{ std::get<int64_t>(integral_) } : std::nullopt; |
| 38 | } |
| 39 | bool ErrorCode::Empty() const |
| 40 | { |
| 41 | return std::holds_alternative<std::monostate>(integral_); |
no outgoing calls
no test coverage detected