Now let’s consider the following example.void g( const int ( & )[][2] )
{
std::cout << "void g( const int ( & )[][2] )\n";
}void g( const int ( & )[2][2] )
{
std::cout << "void g( const int ( & )[2][2] )\n";
}
//…g( { 1, 2, 3 } );The MS VS 2019 issues an error that it is unable to convert the initializer list for either function.Is it a compiler bug or does it behave correctly? In the last case what is the explanation of such a behavior?