470,862 Members | 1,776 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,862 developers. It's quick & easy.

base class copy ctor and assignment operator

For my base class, the default copy constructor
and assignment operator do the right thing.
However, a child class requires user-defined
methods because of a c-style string. Must I
therefore provide corresponding user definitions
for the base class?

Thanks for your help.
Mike.

Mar 21 '06 #1
1 1526
* Mike - EMAIL IGNORED:
For my base class, the default copy constructor
and assignment operator do the right thing.
However, a child class requires user-defined
methods because of a c-style string. Must I
therefore provide corresponding user definitions
for the base class?


No.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Mar 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by Shea Martin | last post: by
18 posts views Thread by sd2004 | last post: by
8 posts views Thread by Mike - EMAIL IGNORED | last post: by
14 posts views Thread by lovecreatesbea... | last post: by
15 posts views Thread by subramanian100in | last post: by
12 posts views Thread by hweekuan | last post: by
2 posts views Thread by puzzlecracker | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.