Incorrect constructor referenced in Fixed description
-
Key: CPP1117-8
-
Status: open
-
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
-
Updated: Thu, 12 Jan 2023 20:46 GMT