File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =' 1.0' encoding =' utf-8' standalone =' no' ?>
2+ <!DOCTYPE issue SYSTEM "lwg-issue.dtd">
3+
4+ <issue num =" 4185" status =" New" >
5+ <title >Ill-formed, no diagnostic required on runtime behavior</title >
6+ <section ><sref ref =" [linalg.helpers]" /><sref ref =" [concept.swappable]" /><sref ref =" [iterator.cust.swap]" /></section >
7+ <submitter >Jiang An</submitter >
8+ <date >18 Dec 2024</date >
9+ <priority >99</priority >
10+
11+ <discussion >
12+ <p >
13+ Several exposition-only function objects in <sref ref =" [linalg.helpers]" /> are specified with strange
14+ wording — "If the function selected by overload resolution does not return [… ], the program
15+ is ill-formed, no diagnostic required;". These conditions don't seem to be static properties because what
16+ the selected function returns can be completely dependent on the runtime environment and input.
17+ <p />
18+ Likewise, <sref ref =" [concept.swappable]" /> and <sref ref =" [iterator.cust.swap]" /> also contain such weird
19+ usage. Presumably we should say the behavior is undefined in these cases.
20+ </p >
21+ </discussion >
22+
23+ <resolution >
24+ </resolution >
25+
26+ </issue >
You can’t perform that action at this time.
0 commit comments