Fix example for user-defined types in documentation for 10.0.0

This commit is contained in:
Rafał Lalik 2023-05-24 10:11:20 +02:00
parent adad18a74d
commit 33971cce60

View File

@ -155,7 +155,7 @@ For example::
if (it != end && (*it == 'f' || *it == 'e')) presentation = *it++;
// Check if reached the end of the range:
if (it != end && *it != '}') ctx.on_error("invalid format");
if (it != end && *it != '}') format_error("invalid format");
// Return an iterator past the end of the parsed range:
return it;