[Bug libstdc++/93470] [C++2a] std::reference_wrapper to function type is broken

2020-01-27 Thread frankhb1989 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93470 --- Comment #2 from frankhb1989 at gmail dot com --- Case: #include void foo() {} int main() { std::ref(foo)(); } Sorry, I missed to mention it only failed with `clang++ -std=c++2a` (using Clang++ 9.0.1). G++ with `-std=c++2a` still

[Bug libstdc++/93470] [C++2a] std::reference_wrapper to function type is broken

2020-01-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93470 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|