add static constexpr get() method to the pi template