Owning error value, independent of the failed input's lifetime.
More...
#include <text.hpp>
|
| bool | operator== (const TextError &other) const noexcept=default |
| | Compare category and byte offset.
|
|
|
TextErrorKind | kind {} |
| | Failure category.
|
|
std::size_t | byte_offset {} |
| | Byte offset of an invalid sequence, rejected cluster or cursor. Input-limit and invalid-policy errors use zero.
|
Owning error value, independent of the failed input's lifetime.
◆ operator==()
| bool portals::TextError::operator== |
( |
const TextError & | other | ) |
const |
|
defaultnoexcept |
Compare category and byte offset.
- Parameters
-
| other | Value whose corresponding fields are compared. |
- Returns
- True when every compared field is equal; false otherwise.
The documentation for this struct was generated from the following file: