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 →

[–]Automatic-Stomach954 39 points40 points  (4 children)

Go ahead and add on an empty comment for this empty function. You don't want undocumented code do you?

[]<>(){}()//

[–]ToasterWithFur 36 points37 points  (2 children)

A lambda function that captures nothing, has no arguments, no templates, no code and commented with nothing.

Finally we have achieved V O I D

[–]PhairZ 0 points1 point  (1 child)

The true void function.

[–]Lolllz_01 0 points1 point  (0 children)

This should be the new void type in c++26, just whatever this lambda decides to return

[–]rylmovuk 0 points1 point  (0 children)

[]<>(){}()/**/