![]() |
simdjson
0.3.1
Ridiculously Fast JSON
|
The result of a simdjson operation that could fail. More...
Public Member Functions | |
| really_inline void | tie (T &t, error_code &e) &&noexcept |
| Move the value and the error to the provided variables. More... | |
| really_inline error_code | error () const noexcept |
| The error. | |
| really_inline T & | value () noexcept(false) |
| Get the result value. More... | |
| really_inline T && | take_value () &&noexcept(false) |
| Take the result value (move it). More... | |
| really_inline | operator T&& () &&noexcept(false) |
| Cast to the value (will throw on error). More... | |
The result of a simdjson operation that could fail.
Gives the option of reading error codes, or throwing an exception by casting to the desired result.
|
noexcept |
Cast to the value (will throw on error).
| simdjson_error | if there was an error. |
|
noexcept |
Take the result value (move it).
| simdjson_error | if there was an error. |
|
noexcept |
|
noexcept |
Get the result value.
| simdjson_error | if there was an error. |
1.8.17