c - 宏观理解
问题描述
我以前从未见过以下宏格式:
#define foreach_nat_det_in2out_error \
_(UNSUPPORTED_PROTOCOL, "Unsupported protocol") \
_(NO_TRANSLATION, "No translation") \
_(BAD_ICMP_TYPE, "unsupported ICMP type") \
_(OUT_OF_PORTS, "Out of ports") \
_(IN2OUT_PACKETS, "Good in2out packets processed")
有人见过这种格式吗?你能解释一下这段代码发生了什么吗?
解决方案
推荐阅读
- spring - 使用 KafkaStream 从主题中读取 Avro 消息,将它们转换为字符串/json 并存储在 AWS S3 存储桶中
- jquery - 如何在 angular2 应用程序中实现日期选择器?
- cucumber - Eclipse 中的黄瓜设置
- php - 基于用户元数据国家设置的 Echo AFC 字段
- powershell - 如何调用另一个函数并捕获这两个函数中的错误?
- cartesian-coordinates - 什么是具有球对称性的反应扩散算法的良好拉普拉斯算子?
- css - SVG 动画:告诉关键帧“什么都不做”
- scala - 为什么私有构造函数在案例类中仍然可见?
- javascript - VueJs 和链接动作和承诺
- python - 如何旋转绘图或图例 matplotlib (geopandas)