[Bug libstdc++/113074] requires requires should be SFINAE

2023-12-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113074 --- Comment #3 from Andrew Pinski --- https://eel.is/c++draft/memory#pointer.conversion As far as I can tell, std::to_address is not required to be SFINAE safe ... The standard just says: ``` Returns: pointer_traits​::​to_address(p) if that e

[Bug libstdc++/113074] requires requires should be SFINAE

2023-12-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113074 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Oh > https://cplusplus.github.io/LWG/issue3545 Whoops wrong one.

[Bug libstdc++/113074] requires requires should be SFINAE

2023-12-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113074 --- Comment #1 from Andrew Pinski --- Oh https://cplusplus.github.io/LWG/issue3545