[Bug libstdc++/105027] Missing constraints on std::bit_cast

2022-04-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105027 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/105027] Missing constraints on std::bit_cast

2022-04-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105027 --- Comment #6 from Jonathan Wakely --- Fixed for 11.3

[Bug libstdc++/105027] Missing constraints on std::bit_cast

2022-04-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105027 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:20f2303b0ce6bbe412e852e6423daabd04c39ebb commit r11-9773-g20f2303b0ce6bbe412e852e6423daabd04c39ebb Author: Jonathan Wake

[Bug libstdc++/105027] Missing constraints on std::bit_cast

2022-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105027 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4894d69a1f37d54b6a612e58053db477ff5ba832 commit r12-7781-g4894d69a1f37d54b6a612e58053db477ff5ba832 Author: Jonathan Wakely Date:

[Bug libstdc++/105027] Missing constraints on std::bit_cast

2022-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105027 --- Comment #3 from Jonathan Wakely --- (In reply to Ed Catmur from comment #0) > static_assert(BitCastable); // #3: see below > int f(); > long l = std::bit_cast(f); // #4 > > By my reading of [temp.deduct] #3 should be a hard error, since > s

[Bug libstdc++/105027] Missing constraints on std::bit_cast

2022-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105027 --- Comment #2 from Jonathan Wakely --- (In reply to Ed Catmur from comment #0) > [bit.cast] Constraints (nb. prior to P1719R2 these were specified as SFINAE, > but they have been there since the start): N.B. P1719 didn't change anything here,

[Bug libstdc++/105027] Missing constraints on std::bit_cast

2022-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105027 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gc