|
-
February 11th, 2004, 08:16 PM
#6
Re: Re: can i call copy constructor in default constructor?
Originally posted by Kheun
Your example doesn't show a copy constructor. The signature of a copy constructor is: A(const A& a)
If I am not wrong, I believe that you want to call a different constructor within the default constructor.
yeah, that's what i want to do, so it's illegal ,right? thanks for ur
good answer
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
|