[Bug libstdc++/97101] New: noexcept specifier in std::bind_front()
ashtumspam at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Sep 18 07:01:03 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97101
Bug ID: 97101
Summary: noexcept specifier in std::bind_front()
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: ashtumspam at gmail dot com
Target Milestone: ---
#include <functional>
#include <iostream>
int main()
{
std::cout << noexcept(std::bind_front([] {})) << std::endl;
}
Output:
0
The mistake is in this line:
https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/std/functional#L908
More information about the Gcc-bugs
mailing list