Detecting constexpr with SFINAE
NOTE: I opened a question here about whether OPs code is actually valid. My rewritten example below will work in any case. but I would like to know if the code is legal C++11 It is, although the default template argument may be considered a bit unusual. I personally like the following style better, which … Read more