Hello everyone!

1. If I'm declaring some static array as a member of a class, for example:

Code:

Matrix matrices[4];

Now, suppose I have a constructor which receives an array 4 matrices to assign to that member.

Now isn't it right to define the elements of our matrices member this way, for example:

Code:

matrices[0](matricesFromCont[0]); // Assuming we have a copy constructor in Matrix class

What's the problem with that?

2. Another, maybe related question:

Why isn't it correct to pass as an argument the following one:

Code:

const Matrix& arr[]

Thank you!