PR12008: defer adding the implicit 'const' to a constexpr member function until
we know whether it is static.