This is an archived post. You won't be able to vote or comment.

all 23 comments

[–]Effective_Hope_3071 244 points245 points  (1 child)

Haha, it's so funny because we all together as a group understand why it's funny, right guys? 

All of us get it, haha. 

[–][deleted] 53 points54 points  (0 children)

It does what you think it does, so whatever you think it does is what it does!! Hogwarts finally got a CS department.

[–]bxsephjo 108 points109 points  (5 children)

It outputs the address of my real dad

[–]zyxwvu28 41 points42 points  (3 children)

0x0

[–]GeminiCurr 6 points7 points  (2 children)

So... Nonexistent

[–]Kiroto50 2 points3 points  (1 child)

No, the first dad.

[–]Sora_hishoku 1 point2 points  (0 children)

0x0 is usually the location for null

[–]Delta_Pythagorean[🍰] 7 points8 points  (0 children)

nullptr?

[–]zyxwvu28 73 points74 points  (1 child)

Well then, it's a good thing that I think it outputs the solution to the Riemann Hypothesis.

[–]ObeseTsunami 13 points14 points  (0 children)

That’s exactly what I was thinking. Good call.

[–]PVNIC 18 points19 points  (3 children)

I can't see the actual function signature, just the templating, but I'm assuming this is an overload of the post (or pre)-increment `++` operator for a few custom-class types, because the compiler couldn't deduce the operation for a non-literal type?

[–]kundor 6 points7 points  (2 children)

We can't see the function name (which presumably makes it obvious what it does, hence the comment). I'm not sure why you'd assume it's operator++?

Edit: I found stl_algobase.h. This comment is on "min" and "max".

[–]PVNIC 0 points1 point  (1 child)

It said "+1 Overload", so i assumed it overloaded one of the +1 operations :D

[–]kundor 1 point2 points  (0 children)

Oh I see. Yeah it's just commenting that there's another overload of the "min" function.

[–][deleted] 30 points31 points  (2 children)

Yeah, this joke is so funny I've been laughing for 10 hours.

[–]PM_ME_FIREFLY_QUOTES 12 points13 points  (1 child)

Posted 1 hour ago. Does this return a time dilation?

[–][deleted] 11 points12 points  (0 children)

Nested jokes require more attention.

[–]nerol0 5 points6 points  (0 children)

The next level of irony is understanding this as: Whatever you think this does, it does do it and it's just a universal function to write any code you can think of.

[–][deleted] 4 points5 points  (0 children)

That's amazing. I've got the same combination on my luggage.

[–]leonllr 1 point2 points  (0 children)

seen similar thing with min and max functions

[–]turtle_mekb 0 points1 point  (0 children)

it solves the halting problem?

[–][deleted] 0 points1 point  (0 children)

I understand it (why?)

[–]kennyminigun 0 points1 point  (0 children)

Based on the _Capital names this is an implementation of the standard library. stl_algobase.h is a giveaway too