Const function

Hi,

what is a const function?

thanks in advance,

Simple Google should help here, or at least why you are asking? Are you trying to use one in your code?

It basically means that you cannot change any variables that the function belongs too, the same as if you were to pass in a const variable. It doesn’t necessarily give any performance, but is used so that variables don’t get changed when they shouldn’t be.