I have recently come across a constructor that looked like this:
classname::classname(index_t m, index_t n) : m(m), n(n) {...}
However, I am not sure what : m(m), n(n)
does. I think it assigns the parameters index_t m, index_t n
to local variables of the same type and name - would this observation be correct?
Thank you!