[Bug c++/94252] Can't use a lambda in a requires expression

2020-03-23 Thread julius_huelsmann at freenet dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94252 --- Comment #1 from Julius Hülsmann --- This seems to apply to member functions aswell; the following assertion fails aswell on gcc-trunk on [compilerExplorer](https://godbolt.org/z/NxgkH5) struct T { int f(int) noexcept; }; int main() { stat

[Bug c++/94003] is_constructible seems to have sideeffects

2020-03-02 Thread julius_huelsmann at freenet dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94003 --- Comment #1 from Julius Hülsmann --- Created attachment 47949 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47949&action=edit preprocessed file (g++ --save-temps file.cc) This contains the preprocessed file generated via g++ --save-tem

[Bug c++/94003] New: is_constructible seems to have sideeffects

2020-03-02 Thread julius_huelsmann at freenet dot de
++ Assignee: unassigned at gcc dot gnu.org Reporter: julius_huelsmann at freenet dot de Target Milestone: --- When executing the following code #include ```c++ class Class { Class() {} }; template static bool why() { return std::is_constructible::value; } int main() { return

[Bug c++/93323] New: Internal Compiler Error in unify at cp/pt.c:22219

2020-01-19 Thread julius_huelsmann at freenet dot de
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: julius_huelsmann at freenet dot de Target Milestone: --- Created attachment 47678 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47678&action=edit The source file which throws the bug. Bug Desc