Must template argument functions be treated as potentially constexpr?
Introduction template<int F(), int N = F()> void func (); In this answer we will go through the relevant sections of the International Standard, step by step, to prove that the above snippet is well-formed. What does the International Standard (N3337) say? The Standardese 14.1p9 Template parameters [temp.param] A default template-argument is a template-argument (14.3) … Read more