04-03-2013 03:31 AM
can you please tell me the what is meaning of const blackberry cascade .they many time used like this
QString email() const; ?
QString firstName() const;
QString AddressBook::filter() const
04-03-2013 03:55 AM
04-03-2013 03:56 AM
04-03-2013 07:23 AM
"it means the returned value may not be altered."
I think that is meaning if a const is at the beginning (on the return parameter), for example:
const QString email() const
Zmey's answer applies for trailing const.
And yes I agree - OP you should read a book or do a course on C++.