利用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
相關文章
相關標籤/搜索