79689446

Date: 2025-07-03 20:45:42
Score: 0.5
Natty:
Report link

You already provided the solution by using a so-called non-type template parameter

template <int x>

To my knowledge, there is currently no other way to provide constexpr parameters to a function. That is literally what non-type template parameters are for.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Oskar Hofmann