View Single Post
Old 05-02-2005, 02:03 AM   #1 (permalink)
lostromos
Registered User
 
Join Date: Apr 2005
Posts: 5
lostromos is on a distinguished road
Const functions returning const

Hello all,

const int function() const;

This function returns a const int. I'm ok with that. What's the use of the second "const"? I didnt find the answer in standard C/C++ manuals, so i felt the need to disturb you one more.

Thanks a lot in advance
lostromos is offline   Reply With Quote