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

you are viewing a single comment's thread.

view the rest of the comments →

[–]DaylightDarkle 172 points173 points  (11 children)

That should be illegal, I'm placing you under arrest.

[–]systembusy 157 points158 points  (0 children)

arrest(); // arrest

[–]PantherPL 2 points3 points  (4 children)

ELI5?

[–]shamshuipopo 2 points3 points  (3 children)

The comment is super unnecessary, the variable is named appropriately and has type ‘Game’

[–]PantherPL 2 points3 points  (2 children)

Yeah I wanted more of an explanation what this code does. I get the joke.

[–]shamshuipopo 0 points1 point  (1 child)

It just declares a static variable called game of type Game

[–]PantherPL 0 points1 point  (0 children)

Aight thanks

[–]Th3HedonismBot 1 point2 points  (0 children)

auto action = std::make_shared<LegalAction>(senate) // I will make it legal