Created on 2003-09-18.00:00:00 last changed 171 months ago
[ Kona: Matt provided wording ]
Proposed resolution:
Change [meta.help] paragraph 2 from "...or a pair of 0 values if no storage can be obtained" to "...or a pair of 0 values if no storage can be obtained or if n <= 0."
The standard is not clear about the requirements on the value returned from a call to get_temporary_buffer(0). In particular, it fails to specify whether the call should return a distinct pointer each time it is called (like operator new), or whether the value is unspecified (as if returned by malloc). The standard also fails to mention what the required behavior is when the argument is less than 0.
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-21 18:28:33 | admin | set | messages: + msg2587 |
2010-10-21 18:28:33 | admin | set | messages: + msg2586 |
2003-09-18 00:00:00 | admin | create |