Let's say I have this function:
constexpr void foo(size_t x)
{ }
And this template:
template<size_t X>
class bar;
Would it be possible to instantiate an instance of template bar with the constexpr size_t x inside the foo function if I know that I will always constexpr evaluate that function (C++17)?