Incorrect constructor referenced in Fixed description
-
Key: CPP1117-8
-
Status: closed
-
Source: Remedy IT Expertise BV ( Johnny Willemsen)
-
Summary:
This chapter says:
The Fixed(std::string&) constructor converts a string representation of a fixed-point literal, with an optional leading sign (+ or -) and an optional trailing ‘d’ or ‘D’, into a real fixed-point value.
But there is no constructor that accepts a non-const std::string&, the text should say
The Fixed(const std::string&) constructor converts a string representation of a
fixed-point literal, with an optional leading sign (+ or -) and an optional trailing ‘d’ or ‘D’, into a real fixed-point value. -
Reported: CPP11 1.6b1 — Tue, 10 Jan 2023 15:56 GMT
-
Disposition: Resolved — CPP11 1.7
-
Disposition Summary:
Correct the spec text to match the source code
Add the missing "const" as described in the issue.
-
Updated: Tue, 9 Jan 2024 19:49 GMT