I just noticed that the new standard defines min(a,b) and max(a,b) without constexpr.
min(a,b)
max(a,b)
constexpr
Examples from 25.4.7, [
std::min and std::max are constexpr in C++14, which obviously means there isn't a good reason (these days) not to have them constexpr. Problem solved :-)