|
template<typename It , typename... Args> |
constexpr | parse_error (It first, It last, int tab_size, char const *msg, Args const &...args) noexcept |
| Create a parse error at a specific point in UTF-8 encoded text.
|
|
template<typename It , typename... Args> |
constexpr | parse_error (It first, It last, char const *msg, Args const &...args) noexcept |
| Create a parse error at a specific point in UTF-8 encoded text.
|
|
template<typename It , typename... Args> |
constexpr | parse_error (It first, It last, int tab_size, char const *msg, Args const &...args) noexcept |
| Create a parse error at a specific point in UTF-8 encoded text.
|
|
template<typename It , typename... Args> |
constexpr | parse_error (It first, It last, char const *msg, Args const &...args) noexcept |
| Create a parse error at a specific point in UTF-8 encoded text.
|
|
T | runtime_error (T... args) |
|
T | what (T... args) |
|
T | what (T... args) |
|
T | ~exception (T... args) |
|
T | operator= (T... args) |
|
T | exception (T... args) |
|
|
template<typename It > |
static constexpr std::pair< size_t, size_t > | get_line_position (It first, It last, size_t tab_size) noexcept |
| Get the line and column position of an iterator in a UTF-8 string.
|
|
◆ parse_error() [1/2]
template<typename It , typename... Args>
constexpr hi::v1::parse_error::parse_error |
( |
It | first, |
|
|
It | last, |
|
|
char const * | msg, |
|
|
Args const &... | args ) |
|
inlineconstexprnoexcept |
Create a parse error at a specific point in UTF-8 encoded text.
- Parameters
-
first | An iterator to the start of the text. |
last | An iterator to the position of the character where the error occurred. |
msg | A std::format msg. |
args | The arguments for std::format. |
◆ parse_error() [2/2]
template<typename It , typename... Args>
constexpr hi::v1::parse_error::parse_error |
( |
It | first, |
|
|
It | last, |
|
|
int | tab_size, |
|
|
char const * | msg, |
|
|
Args const &... | args ) |
|
inlineconstexprnoexcept |
Create a parse error at a specific point in UTF-8 encoded text.
- Parameters
-
first | An iterator to the start of the text. |
last | An iterator to the position of the character where the error occurred. |
tab_size | The number of spaces a tab character indents. |
msg | A std::format msg. |
args | The arguments for std::format. |
The documentation for this class was generated from the following file: