patterncppCritical
What is this smiley-with-beard expression: "<:]{%>"?
Viewed 0 times
withsmileybeardthiswhatexpression
Problem
I came across the following program, which compiles without errors or even warnings:
Live example.
What does the program do, and what is that smiley-expression?
int main(){
; // smile!
}Live example.
What does the program do, and what is that smiley-expression?
Solution
That's an empty lambda using a digraph disguise. Normal lambdas don't have beards.
Context
Stack Overflow Q#15736282, score: 301
Revisions (0)
No revisions yet.