How to do this:
#include <tuple>
std::tuple<double, int[2]> f()
{
return std::make_tuple(0., {1, 2});
}
int main()
{
f();
return 0;
}
could not convert 'std::make_tuple<{}>()' from 'std::tuple<>' to 'std::tuple'
Can't the compiler figure out what to do?