tzlaine / parser

A C++ parser combinator library.
Boost Software License 1.0
81 stars 12 forks source link

Docs: Typo in attribute generation page #138

Closed LegalizeAdulthood closed 6 months ago

LegalizeAdulthood commented 7 months ago

On the page Attribute Generation, the section titled "Another special case: std::string assignment", the paragraph after the code block reads:

... you are even more likely to have made a mistake. Though this should work, because the assignment in std::string s; s = 3.6; is well-formed [...]

The code example doesn't use 3.6, it uses 3.