利用gcc对C语言的语句内嵌表达式扩展定义lambda宏

/* * 不支持g++和clang * */ #include <stdio.h> #include <unistd.h> #include <stdlib.h> // 定义lambda宏 #define lambda(return_type, function_body)\ ({\ return_type $this function_body\ $t
相关文章
相关标签/搜索