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
const should have been the default in C++. Like this :
int i = 5 ; // i is a constant var int i = 5 ; // i is a real variable