Section: 99 [filesys.ts::fs.op.absolute] Status: TS Submitter: Daniel Krügler Opened: 2014-02-28 Last modified: 2017-07-30
Priority: Not Prioritized
View all issues with TS status.
The Throws element [fs.op.absolute] says:
base.is_absolute()is true, throws only if memory allocation fails."
We can strike:
base.is_absolute()is true," and the wording will still hold. Note that:
- None of the involved functions has requirements.
- In every case potentially memory allocation occurs, even for "
return p", so this allocation can fail.
[2014-03-02 Beman Dawes comments and provides P/R]The Throws element should follow the same form as similar Throws elements in the TS. There isn't enough special about this function to justify special wording and by referencing Error reporting (7) we ensure absolute() follows the overall policy for handling memory allocation failures.
[Change 15.1 [fs.op.absolute]:]
base.is_absolute()is true, throws only if memory allocation fails.