How far do you go with const? Do you just make functions const when necessary or do you go the whole hog and use it everywhere? For example, imag
const
I use const were I can. Const for parameters means that they should not change their value. This is especially valuable when passing by reference. const for function declares that the function should not change the classes members.