2
0
mirror of https://github.com/boostorg/spirit.git synced 2026-01-19 04:42:11 +00:00

Small documentation improvements

Bring RealPolicies valid expressions section in line with example
Bring karma tutorial complex example code in line with discussion below
This commit is contained in:
Jan-Grimo Sobez
2020-04-29 09:25:40 +02:00
committed by Nikita Kniazev
parent 8321823575
commit c2ae55bdb9
3 changed files with 5 additions and 4 deletions

View File

@@ -771,9 +771,10 @@ For models of `RealPolicies` the following expressions must be valid:
If successful, place the result into `n`.]]
[[`RP::parse_dot(f, l)`] [Parse the decimal point.
Return `true` if successful, otherwise `false`.]]
[[`RP::parse_frac_n(f, l, n)`] [Parse the fraction after the decimal point.
[[`RP::parse_frac_n(f, l, n, d)`] [Parse the fraction after the decimal point.
Return `true` if successful, otherwise `false`.
If successful, place the result into `n`.]]
If successful, place the result into `n` and the
number of digits into `d`]]
[[`RP::parse_exp(f, l)`] [Parse the exponent prefix (e.g. 'e').
Return `true` if successful, otherwise `false`.]]
[[`RP::parse_exp_n(f, l, n)`] [Parse the actual exponent.