Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Copy constructor/Assingment Operator

Name: Anonymous 2010-02-10 13:36

Hey /prog/, I am having some doubts about a class I'm making.

This class has an array of pointers to an struct. To make my life easier, I'm using std::vector for this. My doubt is coming from the assignment operator and copy constructor.

How would I handle both of these? I mean, std::vector has its own assignment operator but I am not sure if this would generate a shallow or deep copy of data which it holds (Which are pointers).

Name: Anonymous 2010-02-10 16:00

How much time will you waste fucking around with sepples bullshit when you could just use a language that doesn't force you to be a human compiler?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List