What is the use of ampersand after a class name when defining a method in that class? [duplicate]

  ampersand, c++, class, object, oop

What is the meaning of ampersand when used after a class name?
Assume we have a class Matrix, what is the meaning of this?

Matrix& {some method} 

Source: Windows Questions C++

LEAVE A COMMENT