https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88694
--- Comment #2 from Amos Bird ---
Currently by introducing a `auto local_i = decltype(i)();` can workaround this.
#include
#include
#include
template
constexpr void static_for_impl(Func&& f, std::integer_sequence) {
(f(std::integral_c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88694
--- Comment #1 from Amos Bird ---
Created attachment 45343
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45343&action=edit
the ii file
nt: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: amosbird at gmail dot com
Target Milestone: ---
Created attachment 45342
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45342&action=edit
source code
This might be related to
https://gcc.gnu.org/bugzilla/