[Bug c++/60245] Template static function not accepted as constexpr parameter
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60245 --- Comment #2 from Florent Hivert --- Sorry ! The version I submitted is not the most reduced. Here is a version not using vectors: constexpr int Apply(const int in, int (*f)(const int&)) { return f(in); } using Foo = int; static constexpr int
[Bug c++/60245] Template static function not accepted as constexpr parameter
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60245 --- Comment #1 from Florent Hivert --- Created attachment 32155 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32155&action=edit preprocessed code