|
-
February 20th, 2003, 11:46 AM
#1
valid type for default arguement of a vector in a constructor
Hi,
I have a constructor for class Grapher that is defined like this:
Grapher( const vector<string> & , string ="graph");
The thing is i would like to provide arguement for the vector<string> so that I have a default constructor e.g.
Grapher temp();
Anything I put in means gcc kicks up a fuss.
Any ideas?
Thanks
Daniel Brewer
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|