I know that std::get is overloaded. And I know that to extract an overload I need to cast to a specific signature. Let say I need a pointer to std::get which returns non-const ref to 1st element from std::tuple&. Below is one of my many attempts (does not compile):
auto f = static_cast<
int& (*)(std::tuple<int,int>&) noexcept
>(
&std::get<(size_t)0u, std::tuple<int,int>>
);
How should I specify this static_cast?