But of course there was more. There was inheritance.
In 1987 I was working as a research assistant at the University of Washington School of Oceanography. Tom Keffer had a grant to make computing easier for scientists and engineers. The idea of overloading operators to do matrix manipulation seemed perfect. The constructors and destructors would allocate and clean up the matrices. Our target audience could focus on the equations and not the coding.