什么是这个笑脸与胡子表达:“<:] {%>&quot ;? [英] What is this smiley-with-beard expression: "<:]{%>"?

查看:186
本文介绍了什么是这个笑脸与胡子表达:“<:] {%>&quot ;?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到下面的程序,编译没有错误,甚至警告:

I came across the following program, which compiles without errors or even warnings:

int main(){
  <:]{%>; // smile!
}

程序是做什么的,什么是笑脸表达?

What does the program do, and what is that smiley-expression?

推荐答案

这是一个空的lambda使用digraph伪装。正常的lambdas没有胡子。

That's an empty lambda using a digraph disguise. Normal lambdas don't have beards.

这篇关于什么是这个笑脸与胡子表达:“&lt;:] {%&gt;&quot ;?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆