I am trying to understand a piece of C ++ code and I came to the conclusion that I do not understand what the following means:
The following is indicated in the function prototype file: aka (.h)
What I'm puzzled about is the const parameter:
ofMesh getImageMesh() const;
I mean that the function / method returns the class ofMesh, getImageMesh () has no parameters, and that follows const. Why is const used like this?
source
share