Possible Duplicate:
What does const mean following a function/method signature?
Go ahead laugh at me, but what does the const after the function indicate?
int someFunc() const{ //<<----notice the const
//insert code blah...
}
If I wanted to a return type of const int wouldn't I just write
const int someFunc(){
//code....
}