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

C++ and copying

Name: Anonymous 2013-06-13 5:34

Why the fuck does everything in C++ insist on endlessly copying shit here and there, spawning 4 (FOUR!!!) copies of some fucking object during certain calls to methods of stdlib containers (vector, tuple etc).

I can't create a fucking thread without it copying my ``functor'' object (with operator()) at least twice for some fucking reason.

So yeah, if you want fast C++ programs, you fucking write them in C, with manual handling of pointers and shit.  Fuck C++.

Name: Anonymous 2013-06-15 20:52

>>40
Can I?

Name: Lambda A. Calculus !!wKyoNUUHDOmjW7I 2013-06-15 22:28

>>34
I'M GONNA GO OVER TO UR MUM'S HOUSE, KICK DOWN DA FUCKING DOOR, AND SHOVE A COPY OF DA STANDARD RIGHT UP UR RUSSIAN ASSHOLE, YA FUCKING RETOID.

Name: Anonymous 2013-06-15 22:32

>>42
I don't have a copy of the standard, but I don't like having things shoved up my asshole. Can you upload it somewhere instead?

Name: Anonymous 2013-06-15 22:59

NE1 GOT SUM DUBZ??????????

Name: Anonymous 2013-06-15 23:19

>>4
nice

Name: L. A. Calculus !!wKyoNUUHDOmjW7I 2013-06-16 0:23

>>43
I STOLE PHYSICAL COPIES FROM DA ISO BACK IN DA DAY. DONT GOT NO ELECTRONIC COPIES, BUT U CAN GET DA DRAFTS EASY AS SHIT IF YOU LOOK AROUND. IT'S DA SAME SHIT ANYWAY, SO WHO GIVES A FUCK.

Name: Anonymous 2013-06-17 14:31

We have a guy that demands that we write out every trivial detail of copying this or that or marking this or that as const as if it improves the quality of our software. We have to do that because the guy is the butt-shoving prostate massager, I mean, byte-saving project manager

Name: Anonymous 2013-06-17 16:10

>>47
Get back to pounding those keys monkey-boy.

Name: Anonymous 2013-06-17 16:12

>>47
Sounds like he knows what's up.

Name: Anonymous 2013-06-17 18:14

>>49
yeah, my dick

Name: Anonymous 2013-06-17 19:16


std::vector<std::vector<int>> vec;
std::vector<int> nums = {1,2,3,4};
vec.push(std::move(nums));


fag

Name: Anonymous 2013-06-17 20:33

Name: Anonymous 2013-06-17 20:39

Name: Anonymous 2013-06-19 3:11

Tags for fags
links for chinks

Name: Anonymous 2013-08-27 13:51

check 'em

Name: Anonymous 2013-08-27 14:23

When you have "automatic" memory management but no GC, you have to make copies. You could try reference counting, but it doesn't work with cycles.

Name: Anonymous 2013-08-27 15:15

How are you measuring this ``copying''?
If you're putting a print statement in your copy constructor then it's no surprise it's forced to call it since you made it have side effects.

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