IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    ‘#include_next’ 的用途

    ww发表于 2015-11-25 13:26:09
    love 0
    最近在阅读开源项目代码的时候看到一个很少见的预处理命令: #include_next 查询了一下, 并不是标准中的一部分, 属于 GNU 扩展, 使用的场合也比较少, 在某些新旧代码共存时或许会比较常见. https://gcc.gnu.org/onlinedocs/cpp/Wrapper-Headers.html 2.7 Wrapper Headers Sometimes it is necessary to adjust the contents of a system-provided header file without editing it directly. GCC’s fixincludes operation does this, for example. One way to… Continue Reading →


沪ICP备19023445号-2号
友情链接