|
-
May 11th, 2013, 01:05 AM
#7
Re: copy constructor issues with vector class
 Originally Posted by bigc++
Newbie c++ student here.
As C++ is often taught it's easy to get the impression that writing copy constructors, copy assignment operators and even destructors is very central to C++ programming. It's not. One can in fact argue that these constructs preferrably should be avoided alltogether, especially if you're using the object oriented programming style in general high-level applications. So once you've passed the exam the best you can do is to forget about them. Quite a relief isn't it.
Last edited by nuzzle; May 11th, 2013 at 06:32 AM.
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
|