View Single Post
Old Apr 28th, 2008, 4:19 PM   #3
Jessehk
The Oblivious One
 
Jessehk's Avatar
 
Join Date: May 2005
Location: Ontario, Canada
Posts: 641
Rep Power: 4 Jessehk is on a distinguished road
Re: initilizer incmplete type

Quote:
Originally Posted by Jabo View Post
c++ Syntax (Toggle Plain Text)
  1. int Size() const {return _size;}

This doesn't look right to me, you have the const keyword without a name.
Jabo, the const there indicates that when the method is called, it does not modify the object.
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS!
Jessehk is offline   Reply With Quote