Consider the following metafunction for an integral pow (it is just an example) :
class Meta { template static constexpr T ipow(
Just use static members in a class template and specialize the class template. You might want to create a forwarding function template for convenience, though.
static