[Bug c++/108536] Difference when using requires and enable_if with class constructor

2023-01-25 Thread hr.jonas.hansen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108536 --- Comment #2 from hr.jonas.hansen at gmail dot com --- I can see that, and that would work. But it really seems like a work-around? Is there a reason for the difference in behavior?

[Bug c++/108536] New: Difference when using requires and enable_if with class constructor

2023-01-25 Thread hr.jonas.hansen at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hr.jonas.hansen at gmail dot com Target Milestone: --- In the code below I have used a requires-clause. This requires-clause used to be an enable_if. When using enable_if the code

[Bug c++/61936] template template friends fail to compile.

2018-01-24 Thread hr.jonas.hansen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61936 hr.jonas.hansen at gmail dot com changed: What|Removed |Added CC||hr.jonas.hansen at

[Bug c++/78907] internal compiler error segmentation fault with recursive constexpr

2016-12-22 Thread hr.jonas.hansen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78907 --- Comment #2 from hr.jonas.hansen at gmail dot com --- This is not an issue with g++ 5.2.1, did the default stack size change? There is actually no need for using 65536 even -fconstexpr-depth=26000 will ensure the crash, on my computer. How do

[Bug c++/78907] New: internal compiler error segmentation fault with recursive constexpr

2016-12-22 Thread hr.jonas.hansen at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hr.jonas.hansen at gmail dot com Target Milestone: --- I recently updated my g++ version to 6.3.0 (g++ (Homebrew GCC 6.3.0) 6.3.0), but now i get the following error: g++: internal

[Bug c++/61936] template template friends fail to compile.

2015-07-15 Thread hr.jonas.hansen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61936 hr.jonas.hansen at gmail dot com changed: What|Removed |Added CC||hr.jonas.hansen at