??xml version="1.0" encoding="utf-8" standalone="yes"?>日产精品99久久久久久,久久国产乱子精品免费女,久久天天躁狠狠躁夜夜不卡http://m.shnenglu.com/zdhsoft/category/13015.html不能停止的脚?/description>zh-cnMon, 24 Feb 2020 22:32:46 GMTMon, 24 Feb 2020 22:32:46 GMT60[转脓]C++ 20 准备发布QC++ 23 提上议程http://m.shnenglu.com/zdhsoft/archive/2020/02/24/217154.html冬瓜冬瓜Mon, 24 Feb 2020 05:26:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2020/02/24/217154.htmlhttp://m.shnenglu.com/zdhsoft/comments/217154.htmlhttp://m.shnenglu.com/zdhsoft/archive/2020/02/24/217154.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/217154.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/217154.htmlҎ Reddit C++ 版块上的信息QC++ 20 已经正式通过委员会草案,q意味着 C++ 20 可以准备发布?/p>

“在近?ISO C++ 委员会会议上Q我们完成了 C++ 20 委员会草案,q投决定将国际标准草案QDISQDraft International StandardQ发送出去,以进行最l批准和发布”Q帖子介l:“在程序上QDIS 可能会被拒绝Q但是由于我们的E序和过E,q种情况极不可能发生。这意味着 C++ 20 已经完成Qƈ在几个月后发布该标准?#8221;

C++ 20 是近十年来媄响最大的一个版本,新的Ҏ众多,包括Q?/p>

  • 模组QModulesQ?/li>
  • 协程QCoroutinesQ?/li>
  • 标准?Concepts 的概?/li>
  • 范围QrangeQ?/li>
  • constexpr支持Q?code style="box-sizing: inherit; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">new/ delete?code style="box-sizing: inherit; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">dynamic_cast?code style="box-sizing: inherit; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">try/ catch、虚?/li>
  • constexpr 向量和字W串
  • 计时Q日历、时区支?/li>
  • std::format
  • std::span
  • std::jthread

预计q些新特性将会对开发者及 C++ 生态生不媄响,特别是像协程q种巨大的变化?/p>

同时Q在此次会议期间Q委员会q通过?C++ 23 计划Q其中包括优先考虑模块化标准库、对协程、执行程序和|络的库支持?/p>

更加具体的内容可以查看原帖:

https://www.reddit.com/r/cpp/comments/f47x4o/202002_prague_iso_c_committee_trip_report_c20_is



冬瓜 2020-02-24 13:26 发表评论
]]>
[转脓]2019 q?C++ 的发?/title><link>http://m.shnenglu.com/zdhsoft/archive/2020/01/11/217081.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Sat, 11 Jan 2020 02:50:00 GMT</pubDate><guid>http://m.shnenglu.com/zdhsoft/archive/2020/01/11/217081.html</guid><wfw:comment>http://m.shnenglu.com/zdhsoft/comments/217081.html</wfw:comment><comments>http://m.shnenglu.com/zdhsoft/archive/2020/01/11/217081.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/zdhsoft/comments/commentRss/217081.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/zdhsoft/services/trackbacks/217081.html</trackback:ping><description><![CDATA[<p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">原文地址Q?span style="font-family: verdana, "courier new"; font-size: 14px;">https://www.oschina.net/news/112476/cpp-in-2019</span></p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">C++ 软g工程?nbsp;<a style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Bartek</a> 发布博客Q回了 C++ 2019 q的发展情况?/p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;"><img height="247" src="https://oscimg.oschina.net/oscnet/up-c15ef3c1d6aabee537a57e778c037089f56.png" width="700" style="box-sizing: border-box; border: 0px; margin: 0px auto; max-width: 80%; height: auto; vertical-align: middle; cursor: zoom-in;" alt="" /></p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">Bartek 主要介绍?2019 q?C++ Ҏ上的演q、在全球的会议重大进展、相兛_L改进Q以?C++20 新特性的期待Q他ȝ成三大关注点Q?/p><ul style="box-sizing: inherit; margin: 0px 0px 20px; padding: 0px 0px 0px 20px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;"><li style="box-sizing: inherit; line-height: 1.875em; margin-top: 0px;">C++20 卛_发布</li><li style="box-sizing: inherit; line-height: 1.875em;">工具Q现在编?C++ 代码更加Ҏ</li><li style="box-sizing: inherit; line-height: 1.875em; margin-bottom: 0px;">C++ 在开发者中的稳定地?/li></ul><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">Q需要注意的是,文章提出的只?Bartek 的观点,q不代表整个 ISO C++ 委员会的观点。)</p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">从下表可以看出来Q在 2019 q_C++ C֌做了许多事情Q像我们x的新Ҏ方面的q展也有不少Q比?Clang <a style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">8.0.0</a>?a style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">9.0.0</a> 发布?a style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">VS 2019</a> 发布?nbsp;<a style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">GCC 9.1</a> 发布{?/p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;"><img height="522" src="https://oscimg.oschina.net/oscnet/up-716f022528d28a5cd0e78b5b15486c27682.png" width="400" style="box-sizing: border-box; border: 0px; margin: 0px auto; max-width: 80%; height: auto; vertical-align: middle; cursor: zoom-in;" alt="" /></p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">单ȝhQ从 Clang 5.0、GCC 8.0、Visual Studio 15.7 ?Intel C++ Compiler 19.0.1 开始,所有编译器都支?C++ 语言Ҏ。虽?nbsp;C++ 标准库需要其它支持,特别是ƈ行算法和文gpȝ之类的要炏V?code style="box-sizing: inherit; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">std::filesystem</code>需要用到 GCC 8.1Q或更高版本?GCC 9.1Q、Clang 3.9Q或更高版本 7.0Q和 Visual Studio 2017 15.7。ƈ行算法更新最早在 Visual Studio 2017 15.7 中可用,但随着之后的更斎ͼMSVC 团队d了更多算法?/p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">关于 C++20 的讨论在今年占据dCQ目前特性已l冻l,主要Ҏ包括:</p><ul style="box-sizing: inherit; margin: 0px 0px 20px; padding: 0px 0px 0px 20px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;"><li style="box-sizing: inherit; line-height: 1.875em; margin-top: 0px;">模组</li><li style="box-sizing: inherit; line-height: 1.875em;">协程</li><li style="box-sizing: inherit; line-height: 1.875em;">标准?Concepts 的概?/li><li style="box-sizing: inherit; line-height: 1.875em;">范围</li><li style="box-sizing: inherit; line-height: 1.875em;"><code style="box-sizing: inherit; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">constexpr</code>支持Q?code style="box-sizing: inherit; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">new</code>/ <code style="box-sizing: inherit; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">delete</code>Q?code style="box-sizing: inherit; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">dynamic_cast</code>Q?code style="box-sizing: inherit; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">try</code>/ <code style="box-sizing: inherit; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">catch</code>Q虚?/li><li style="box-sizing: inherit; line-height: 1.875em;"><code style="box-sizing: inherit; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">constexpr</code> 向量和字W串</li><li style="box-sizing: inherit; line-height: 1.875em;">计时Q日历、时区支?/li><li style="box-sizing: inherit; line-height: 1.875em;"><code style="box-sizing: inherit; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">std::format</code></li><li style="box-sizing: inherit; line-height: 1.875em;"><code style="box-sizing: inherit; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">std::span</code></li><li style="box-sizing: inherit; line-height: 1.875em; margin-bottom: 0px;"><code style="box-sizing: inherit; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">std::jthread</code></li></ul><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">目前行的编译器已经实现了许?C++20 Ҏ。Bartek 列了一?C++20 新特性的表Q?/p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;"><img height="269" src="https://oscimg.oschina.net/oscnet/up-e4226347eeb58c27a614c3612ec36529947.png" width="500" style="box-sizing: border-box; border: 0px; margin: 0px auto; max-width: 80%; height: auto; vertical-align: middle; cursor: zoom-in;" alt="" /></p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">工具斚wQ首?Visual Studio ?C++ 提供了众多新的支持,包括Q?/p><ul style="box-sizing: inherit; margin: 0px 0px 20px; padding: 0px 0px 0px 20px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;"><li style="box-sizing: inherit; line-height: 1.875em; margin-top: 0px;">使用 Visual Studio IntelliCode ?AI 辅助代码补全</li><li style="box-sizing: inherit; line-height: 1.875em;">C++ MSBuild ?CMake 目中对 Clang ?MSVC ?Clang-Tidy 的支?/li><li style="box-sizing: inherit; line-height: 1.875em;">AddressSanitizer 支持 Windows 上?MSVC ~译的项?/li><li style="box-sizing: inherit; line-height: 1.875em;">?CMake 更好地集?/li><li style="box-sizing: inherit; line-height: 1.875em;">Concepts ?16.3 中可?/li><li style="box-sizing: inherit; line-height: 1.875em;">全面?code style="box-sizing: inherit; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">to_chars()</code>支持Q满了 C++ 17 的要?/li><li style="box-sizing: inherit; line-height: 1.875em; margin-bottom: 0px;">提供了一个名?C++ Build Insights 的新工具集合?/li></ul><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">Clang/LLVM 提供了许多强大的实用E序Q比如:</p><ul style="box-sizing: inherit; margin: 0px 0px 20px; padding: 0px 0px 0px 20px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;"><li style="box-sizing: inherit; line-height: 1.875em; margin-top: 0px;">Clang Tidy</li><li style="box-sizing: inherit; line-height: 1.875em;">Clang-Include-Fixer</li><li style="box-sizing: inherit; line-height: 1.875em;"><a style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">AddressSanitizer</a></li><li style="box-sizing: inherit; line-height: 1.875em; margin-bottom: 0px;"><a style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">MemorySanitizer</a></li></ul><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">代码分析?CppDepend v2019.3 增加了对 MISRA ~码准则的支持,VS 2019 支持、QT 目、简化的 UI、嵌入式目支持?/p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">PVS-StudioQ这是一个?C/C++ ?C# ~写的程序源代码中的错误工P2019 q的一些显着变化包括 .NET Core 3 ?3.1 目分析、MISRA 准则支持?0 多项新检查、对 Java、SonarQube 插g的支持?/p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">包管理器 Conan ?nbsp;Microsoft/vcpkg 也都有一些新变化?/p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">最?Bartek 介绍?2019 q?C++ 在开发者h中的地位依然稳定:</p><ul style="box-sizing: inherit; margin: 0px 0px 20px; padding: 0px 0px 0px 20px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;"><li style="box-sizing: inherit; line-height: 1.875em; margin-top: 0px;">TIOBE ~程语言排行榜中 C++ 排到了第 4 位?/li><li style="box-sizing: inherit; line-height: 1.875em;">?StackOverflow 调查中,C++ 位于 C 上方的第 9 位?/li><li style="box-sizing: inherit; line-height: 1.875em; margin-bottom: 0px;">?GitHub 的调查中QC++ 排名W?6?/li></ul><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">除了q些榜单QBartek 自己也做了一个简单的调查问卷Q结果显CZ关于 C++ 的用情况,包括使用的标准库版本、工L选择与对 C++20 新特性的使用{:</p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;"><img height="665" src="https://oscimg.oschina.net/oscnet/up-0c427072a80149c365a35a2cff94329223f.png" width="600" style="box-sizing: border-box; border: 0px; margin: 0px auto; max-width: 80%; height: auto; vertical-align: middle; cursor: zoom-in;" alt="" /></p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">完整回顾内容查看原博客:</p><p style="box-sizing: inherit; margin: 0px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;"><a style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">https://www.bfilipek.com/2019/12/cpp-status-2019.html</a></p><img src ="http://m.shnenglu.com/zdhsoft/aggbug/217081.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/zdhsoft/" target="_blank">冬瓜</a> 2020-01-11 10:50 <a href="http://m.shnenglu.com/zdhsoft/archive/2020/01/11/217081.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转脓]C++20 最新进展:加入模块化和协程Q进入特性冻l阶D?/title><link>http://m.shnenglu.com/zdhsoft/archive/2019/04/09/216345.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Tue, 09 Apr 2019 05:25:00 GMT</pubDate><guid>http://m.shnenglu.com/zdhsoft/archive/2019/04/09/216345.html</guid><wfw:comment>http://m.shnenglu.com/zdhsoft/comments/216345.html</wfw:comment><comments>http://m.shnenglu.com/zdhsoft/archive/2019/04/09/216345.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/zdhsoft/comments/commentRss/216345.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/zdhsoft/services/trackbacks/216345.html</trackback:ping><description><![CDATA[<p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;"><span style="color: #4f4f4f; font-family: "Microsoft YaHei", "SF Pro Display", Roboto, Noto, Arial, "PingFang SC", sans-serif;">有了Modules和协E后Qgo可以一边凉凉?/span><br />原文Q?a >https://www.oschina.net/news/104653/201902-kona-iso-c-committee-trip-report-c20?p=3</a><br />刚刚l束?C++ 标准委员?019春季会议在夏威夷U纳丑֊Q委员会在这ơ会议中定了下一个国际标?C++20 的全部特性,q标志着 <span style="box-sizing: inherit; font-weight: 700;">C++20 的特性设计工作已完成</span>?/p><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">按照 C++20 的发布计划,q次会议正是Zȝ C++20 的特性而D办,q入Ҏ冻l阶D?Feature freeze)意味着所有的功能Ҏ将被冻l,q且不会再加入更多的新特性?/p><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;"><span style="box-sizing: inherit; font-weight: 700;">接下来我们看看上周会议确定添加至 C++20 草案的新Ҏ:</span></p><ul style="box-sizing: inherit; margin: 0px; padding: 0px 0px 0px 2.5em; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;"><li style="box-sizing: inherit;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><span style="box-sizing: inherit; font-weight: 700;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">模块?Modules)</a></span></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><span style="box-sizing: inherit; font-weight: 700;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">协程(Coroutines)</a></span></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">static, thread_local, ?lambda capture 的结构化l定</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::polymorphic_allocator<></a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::midpoint ?nbsp;std::lerp</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::execution::unseq 执行{略</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::ssize() 作ؓ自由函数(free function)会返回符号大?signed size)</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::span 的可用性增?/a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">lookup 中新增预计算哈希值的功能(Precalculated hash values)</a></p></li></ul><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">协程的加入应该是最大的惊喜了,值得期待Q官方还表示QC++20 应该会是一个像 C++11 那样的大版本?/p><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">以下的特性已在本ơ会议或之前的会议上通过了批准,但尚未添加到 C++20 中,因ؓ目前规范仍在~写中。它们有望在2019q?月的U隆会议上被加入Q不q由于时间限Ӟ可能无法完成所有工作?/p><ul style="box-sizing: inherit; margin: 0px; padding: 0px 0px 0px 2.5em; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;"><li style="box-sizing: inherit;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Expansion statements</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">The C++20 synchronization library</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::format</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">constexpr std::vector</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Allow constexpr allocation, but disallow allocations that are not deleted at compile time</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">constexpr std::type_info::operator==</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">New conceptification of iterators</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Monadic operations for std::optional</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::source_location</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::flatmap</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::flatset</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::any_invocable</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::ostream_joiner</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Stack trace library</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::byteswap</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">constinit</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Deprecating some uses of volatile</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Implicit creation of objects for low-level object manipulation</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">using enum</a></p></li></ul><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">下面的这些特性,早已在之前的会议上通过了批准:</p><ul style="box-sizing: inherit; margin: 0px; padding: 0px 0px 0px 2.5em; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;"><li style="box-sizing: inherit;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Concepts</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Contracts</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Ranges</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">operator<=></a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;">A lot more constexpr features: consteval functions, std::is_constant_evaluated, constexpr union, constexpr try and catch, constexpr dynamic_cast and typeid</p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::span</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Synchronized output</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::atomic_ref</a></p></li></ul><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">按照计划的发布进度,C++20 预计于明年夏季推出?/p><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;"><img src="https://oscimg.oschina.net/oscnet/106a2dfcaeca2a55a549362ae6614f000f4.jpg" style="box-sizing: border-box; border: 0px; margin: auto; max-width: 80%; vertical-align: middle; height: auto !important; cursor: zoom-in;" alt="" /><br style="box-sizing: inherit;" />C++20 发布计划</p><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;"><span style="box-sizing: inherit; font-weight: 700;">最后,看看 C++ 主要Ҏ的开发进度?/span></p><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">自上ơ会议以来的变更Q?/p><table style="box-sizing: border-box; display: block; border-collapse: collapse; border-spacing: 1px; font-size: 14px; color: #444444; overflow: auto; width: 893px; border-width: 0px; border-style: initial; border-color: initial; line-height: 28px; word-break: keep-all; margin-top: 0px; margin-bottom: 16px; max-width: 100%; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; background-color: #ffffff;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit; border-top: 1px solid #cccccc;"><th style="box-sizing: inherit; background: #f8f8f8; padding: 4px 8px; border: 1px solid #dddddd;">Ҏ?/th><th style="box-sizing: inherit; background: #f8f8f8; padding: 4px 8px; border: 1px solid #dddddd;">状?/th><th style="box-sizing: inherit; background: #f8f8f8; padding: 4px 8px; border: 1px solid #dddddd;">依赖</th><th style="box-sizing: inherit; background: #f8f8f8; padding: 4px 8px; border: 1px solid #dddddd;">Current Target (Conservative Estimate)</th><th style="box-sizing: inherit; background: #f8f8f8; padding: 4px 8px; border: 1px solid #dddddd;">Current Target (Optimistic Estimate)</th></tr></tbody><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Concepts</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">Concepts TS v1 published and merged into C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"> </td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td></tr><tr style="box-sizing: inherit; background-color: #f8f8f8; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Ranges</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">Ranges TS v1 published and merged into C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">Concepts</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td></tr><tr style="box-sizing: inherit; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Contracts</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">Merged into C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"> </td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td></tr><tr style="box-sizing: inherit; background-color: #f8f8f8; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Modules</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">Merged design approved for C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"> </td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td></tr><tr style="box-sizing: inherit; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Coroutines</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">Coroutines TS v1 published and merged into C++20</span></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"> </td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">C++20</span></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td></tr><tr style="box-sizing: inherit; background-color: #f8f8f8; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Executors</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">Proposed v1 design approved for C++23</span></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"> </td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">C++26</span></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">C++23</span></td></tr><tr style="box-sizing: inherit; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Networking</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">Networking TS v1 published</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">Executors</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++26</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++23</td></tr><tr style="box-sizing: inherit; background-color: #f8f8f8; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Reflection</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">Reflection TS v1 published</span></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"> </td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">C++26</span></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">C++23</span></td></tr></tbody></table><blockquote style="box-sizing: inherit; position: relative; font-size: 15px; background-image: initial; background-color: #f6f6f6; margin: 20px 0px; padding: 16px 24px 16px 48px; border-width: initial; border-style: none; border-color: initial; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;"><p style="box-sizing: inherit; margin: 2px 0px 14px; line-height: 28px;">名词解释</p><ul style="box-sizing: inherit; margin: 0px; padding: 0px 0px 0px 2.5em;"><li style="box-sizing: inherit;">IS = 国际标准。如 C++ ~程语言QC++11, C++14, C++17 {?/li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 2px 0px 0px; line-height: 28px;">TS = 技术规范。在该阶D中Q特性分支处于可使用状态,但尚未被所有厂商实现。如 Coroutines TS v1, Modules TS v1 {?/p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 2px 0px 0px; line-height: 28px;">CD = 委员会草案,?IS/TS 的草案,用于l标准机构进行审查和反馈("beta testing")?/p></li></ul></blockquote><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">据透露Q工LI小l?SG15 军_创徏一?C++ 生态系l技术报告,该报告将描述新模块化 C++ 中工P构徏pȝ{)的最佛_践和最新技术?/p><img src ="http://m.shnenglu.com/zdhsoft/aggbug/216345.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/zdhsoft/" target="_blank">冬瓜</a> 2019-04-09 13:25 <a href="http://m.shnenglu.com/zdhsoft/archive/2019/04/09/216345.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>windows 下vscode快捷键大?/title><link>http://m.shnenglu.com/zdhsoft/archive/2017/08/25/215192.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Fri, 25 Aug 2017 02:31:00 GMT</pubDate><guid>http://m.shnenglu.com/zdhsoft/archive/2017/08/25/215192.html</guid><wfw:comment>http://m.shnenglu.com/zdhsoft/comments/215192.html</wfw:comment><comments>http://m.shnenglu.com/zdhsoft/archive/2017/08/25/215192.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/zdhsoft/comments/commentRss/215192.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/zdhsoft/services/trackbacks/215192.html</trackback:ping><description><![CDATA[     摘要: 跟据vscode官网pdfQ再~辑Visual Studio Code Keyboard shortcuts for windowsGeneral快捷键说明Ctrl+Shift+P, F1Show Command PaletteCtrl+PQuick OpenCtrl+Shift+NNew window/instanceCtrl+Shift+WClose window/instanceBasic ...  <a href='http://m.shnenglu.com/zdhsoft/archive/2017/08/25/215192.html'>阅读全文</a><img src ="http://m.shnenglu.com/zdhsoft/aggbug/215192.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/zdhsoft/" target="_blank">冬瓜</a> 2017-08-25 10:31 <a href="http://m.shnenglu.com/zdhsoft/archive/2017/08/25/215192.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转脓]Visual Studio 2017 15.3 预览版发布,接近最l版http://m.shnenglu.com/zdhsoft/archive/2017/08/11/215154.html冬瓜冬瓜Fri, 11 Aug 2017 12:00:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2017/08/11/215154.htmlhttp://m.shnenglu.com/zdhsoft/comments/215154.htmlhttp://m.shnenglu.com/zdhsoft/archive/2017/08/11/215154.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/215154.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/215154.html原文地址Q?span style="font-family: verdana, "courier new";">http://www.infoq.com/cn/news/2017/08/vs2017-153

从Visual Studio 2017 15.3预览版的发布旉表中可以看出QMicrosoftg马上要发布这一版本的正式版。过d周对VS2017 15.3的改动主要集中在问题修复上,开发h员可以注意到Q最q的VS2017 15.3 Preview版本提供了对C# 7.1的支持,对C++语言服务的改q,以及对IDE自n的几处改动。通过几个重要的问题修复,提高了稳定性和性能?/p>

C++开发h员将看到一些IDE的改动,例如一些常用模板的位置发生了改变。基于Win32的项目现在可以在Windows 桌面cd下找到。Windows控制台和桌面E序模板在创E中不需要调用向|可以分别创徏他们各自的项目。Windows桌面向导可供需要的人员使用?/p>

15.3的Preview目前已经支持C# 7.1的语aҎ。InfoQ的首席编辑Jonathan Allen分两部分对这些特性进行了深入介绍?a target="_blank" style="text-decoration-line: none; color: #286ab2; margin: 0px; border: 0px; padding: 0px; outline: none !important;">W一部分关于异步d敎ͼAsync MainQ和默认表达式(Default ExpressionsQ,W二部分探讨了推导元l名QInfer Tuple NamesQ,以及使用泛型的模式匹配(Pattern-matching with GenericsQ。有?5.3 PreviewQ开发h员现在可以在VS2017中体验这些特性?/p>

一个很有用的特性是增加了信息栏。如果有一个安装的扩展E序q行不正常,信息栏将l出通知Q允许用户决定是否禁用有问题的扩展程序,或者不它?/p>

VS2017 15.3增加的其他特性包括命令行工具vswhere.exe。可以用该工具获得VS2017安装实例的信息。该工具?5.2版本中首ơ出玎ͼ但是?5.3版本已经被修改,不再默认昄VS2017 Preview的实例。要获得预览版的安装信息Q需要加入命令行参数prerelease?/p>

修复的问题有Q?/p>

  • 启用轻量U解x案负载可以减构x案的旉
  • 修复了解x案管理器工具H口Q这h件自动定位功能可以正常运?/li>
  • 各种E_性方面的改进和问题修?/li>

如往怸P不徏议将Visual Studio预览版用于生产系l。感兴趣的开发h员现在可?a target="_blank" style="text-decoration-line: none; color: #286ab2; margin: 0px; border: 0px; padding: 0px; outline: none !important;">下蝲Visual Studio 2017 15.3 PreviewQ也可参看完整的版本说明?/p>

查看英文原文Q?/span> Visual Studio 2017 15.3 Preview Nears Final Release



冬瓜 2017-08-11 20:00 发表评论
]]>
[转脓]C++17中那些值得x的特性(上)http://m.shnenglu.com/zdhsoft/archive/2017/07/28/215131.html冬瓜冬瓜Fri, 28 Jul 2017 05:25:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2017/07/28/215131.htmlhttp://m.shnenglu.com/zdhsoft/comments/215131.htmlhttp://m.shnenglu.com/zdhsoft/archive/2017/07/28/215131.html#Feedback1http://m.shnenglu.com/zdhsoft/comments/commentRss/215131.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/215131.html
ȝ来说C++17相比C++11的新Ҏ来说新Ҏ不多Q做了一些小q改q。C++17增加了数十项新特性,值得x的特性大概有下面q些Q?nbsp; 阅读全文

冬瓜 2017-07-28 13:25 发表评论
]]>
[转脓]2017 开发者生态报告:Java 最火,Go 最有前?/title><link>http://m.shnenglu.com/zdhsoft/archive/2017/07/19/215120.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Wed, 19 Jul 2017 07:34:00 GMT</pubDate><guid>http://m.shnenglu.com/zdhsoft/archive/2017/07/19/215120.html</guid><wfw:comment>http://m.shnenglu.com/zdhsoft/comments/215120.html</wfw:comment><comments>http://m.shnenglu.com/zdhsoft/archive/2017/07/19/215120.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/zdhsoft/comments/commentRss/215120.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/zdhsoft/services/trackbacks/215120.html</trackback:ping><description><![CDATA[     摘要: JetBrains ?2016 q底?2017 q初期间Q对 5000 多名开发h员进行了调查Q以研究最新的开发生态?<br> <br>最q,调查l果已公布:Java 被评为最行的语aQJavaScript 是最常用的语aQ?Go 被认为是最有前途的语言?nbsp; <a href='http://m.shnenglu.com/zdhsoft/archive/2017/07/19/215120.html'>阅读全文</a><img src ="http://m.shnenglu.com/zdhsoft/aggbug/215120.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/zdhsoft/" target="_blank">冬瓜</a> 2017-07-19 15:34 <a href="http://m.shnenglu.com/zdhsoft/archive/2017/07/19/215120.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转脓]E序媛不如程序员Q看看这些高颜值的技术大?/title><link>http://m.shnenglu.com/zdhsoft/archive/2017/07/06/215055.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Thu, 06 Jul 2017 03:03:00 GMT</pubDate><guid>http://m.shnenglu.com/zdhsoft/archive/2017/07/06/215055.html</guid><wfw:comment>http://m.shnenglu.com/zdhsoft/comments/215055.html</wfw:comment><comments>http://m.shnenglu.com/zdhsoft/archive/2017/07/06/215055.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/zdhsoft/comments/commentRss/215055.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/zdhsoft/services/trackbacks/215055.html</trackback:ping><description><![CDATA[     摘要: 本文不是Z让读者去评判q些E序媛的颜|而是Z让大众知道,在代码背后,也存在这样一女性,她们利用自己的技术战胜了世h的偏见,用自q实力赢得了如今的C。在q个h统ȝ数字世界Q她们的成就ؓ不易。未来,应该有更多的E序媛,而不是程序员鼓励师?nbsp; <a href='http://m.shnenglu.com/zdhsoft/archive/2017/07/06/215055.html'>阅读全文</a><img src ="http://m.shnenglu.com/zdhsoft/aggbug/215055.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/zdhsoft/" target="_blank">冬瓜</a> 2017-07-06 11:03 <a href="http://m.shnenglu.com/zdhsoft/archive/2017/07/06/215055.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>?怎么解决q雷资源被D报无法用高速通道http://m.shnenglu.com/zdhsoft/archive/2016/11/29/214450.html冬瓜冬瓜Tue, 29 Nov 2016 04:56:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2016/11/29/214450.html阅读全文

冬瓜 2016-11-29 12:56 发表评论
]]>
转:java中Keytool的用ȝhttp://m.shnenglu.com/zdhsoft/archive/2016/11/29/214449.html冬瓜冬瓜Tue, 29 Nov 2016 04:42:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2016/11/29/214449.htmlhttp://m.shnenglu.com/zdhsoft/comments/214449.htmlhttp://m.shnenglu.com/zdhsoft/archive/2016/11/29/214449.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/214449.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/214449.html阅读全文

冬瓜 2016-11-29 12:42 发表评论
]]>
转:ios app 实现热更斎ͼ无需发新版本实现appd新功能)http://m.shnenglu.com/zdhsoft/archive/2016/11/29/214448.html冬瓜冬瓜Tue, 29 Nov 2016 04:38:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2016/11/29/214448.html阅读全文

冬瓜 2016-11-29 12:38 发表评论
]]>
转:iOS-OC-APP热更?动态更?仿QQ打开或关闭某个功?http://m.shnenglu.com/zdhsoft/archive/2016/11/29/214447.html冬瓜冬瓜Tue, 29 Nov 2016 04:37:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2016/11/29/214447.htmlhttp://m.shnenglu.com/zdhsoft/comments/214447.htmlhttp://m.shnenglu.com/zdhsoft/archive/2016/11/29/214447.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/214447.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/214447.html阅读全文

冬瓜 2016-11-29 12:37 发表评论
]]>
转脓:Androidq_免Root无R入AOP框架Dexposed使用详解http://m.shnenglu.com/zdhsoft/archive/2016/11/29/214446.html冬瓜冬瓜Tue, 29 Nov 2016 04:35:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2016/11/29/214446.htmlhttp://m.shnenglu.com/zdhsoft/comments/214446.htmlhttp://m.shnenglu.com/zdhsoft/archive/2016/11/29/214446.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/214446.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/214446.html阅读全文

冬瓜 2016-11-29 12:35 发表评论
]]>
转脓:Win10q度更新开发必备:VS2015 Update 3正式版下载汇?/title><link>http://m.shnenglu.com/zdhsoft/archive/2016/11/29/214445.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Tue, 29 Nov 2016 04:31:00 GMT</pubDate><guid>http://m.shnenglu.com/zdhsoft/archive/2016/11/29/214445.html</guid><description><![CDATA[     摘要:   <a href='http://m.shnenglu.com/zdhsoft/archive/2016/11/29/214445.html'>阅读全文</a><img src ="http://m.shnenglu.com/zdhsoft/aggbug/214445.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/zdhsoft/" target="_blank">冬瓜</a> 2016-11-29 12:31 <a href="http://m.shnenglu.com/zdhsoft/archive/2016/11/29/214445.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Shell环境下删除命令如何排除指定文件[转]http://m.shnenglu.com/zdhsoft/archive/2014/02/12/205718.html冬瓜冬瓜Wed, 12 Feb 2014 01:52:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2014/02/12/205718.htmlhttp://m.shnenglu.com/zdhsoft/comments/205718.htmlhttp://m.shnenglu.com/zdhsoft/archive/2014/02/12/205718.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/205718.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/205718.html阅读全文

冬瓜 2014-02-12 09:52 发表评论
]]>
Linux下列出所有子目录及磁盘占用情况[转]http://m.shnenglu.com/zdhsoft/archive/2014/02/12/205716.html冬瓜冬瓜Wed, 12 Feb 2014 01:48:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2014/02/12/205716.htmlhttp://m.shnenglu.com/zdhsoft/comments/205716.htmlhttp://m.shnenglu.com/zdhsoft/archive/2014/02/12/205716.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/205716.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/205716.html
今天Jenkins(以前叫Hudson)CI服务器突然挂了,排查了半天发现磁盘已l?00%Q真后悔当初没把盘讑֤点,其实可以用LVM调整一下,但是心里q是没底Q怕把数据都丢׃Q决定以后再调整盘分配。目前先吧Jenkins下没用的目都干掉,可以腑և很多I间?

我们都知道用du命o可以查看目录Q例如查?home/kuuyee目录占用盘I间大小可以使用下面的命令:  阅读全文

冬瓜 2014-02-12 09:48 发表评论
]]>
泰然cocos2d-x多分辨率适配Ҏ(?http://m.shnenglu.com/zdhsoft/archive/2014/02/03/cocos2dxzt01.html冬瓜冬瓜Mon, 03 Feb 2014 05:22:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2014/02/03/cocos2dxzt01.htmlhttp://m.shnenglu.com/zdhsoft/comments/205628.htmlhttp://m.shnenglu.com/zdhsoft/archive/2014/02/03/cocos2dxzt01.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/205628.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/205628.html
DesignResolutionSize  阅读全文

冬瓜 2014-02-03 13:22 发表评论
]]>
开始学习cocos2dx之二:AndroidManifest.xml文g解析http://m.shnenglu.com/zdhsoft/archive/2014/02/03/cocos2dx03.html冬瓜冬瓜Mon, 03 Feb 2014 04:14:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2014/02/03/cocos2dx03.htmlhttp://m.shnenglu.com/zdhsoft/comments/205627.htmlhttp://m.shnenglu.com/zdhsoft/archive/2014/02/03/cocos2dx03.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/205627.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/205627.html转脓内容Q?
一、关于AndroidManifest.xml
AndroidManifest.xml 是每个androidE序中必ȝ文g。它位于整个目的根目录Q描qCpackage中暴露的lgQactivities, services, {等Q,他们各自的实现类Q各U能被处理的数据和启动位|?除了能声明程序中的Activities, ContentProviders, Services, 和Intent Receivers,q能指定permissions和instrumentationQ安全控制和试Q?nbsp; 阅读全文

冬瓜 2014-02-03 12:14 发表评论
]]>
开始学习cocos2dx之二Q一个简单的动画 http://m.shnenglu.com/zdhsoft/archive/2014/01/29/cocos2dx02.html冬瓜冬瓜Wed, 29 Jan 2014 13:37:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2014/01/29/cocos2dx02.htmlhttp://m.shnenglu.com/zdhsoft/comments/205603.htmlhttp://m.shnenglu.com/zdhsoft/archive/2014/01/29/cocos2dx02.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/205603.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/205603.html但是q个博客的地址的例子,不适合2.2.2,我把代码修改了一下,OK了!参考代码如下。(原理参考原?span style="font-size: 13px; color: #008080;"> 1         CCSize s = CCDirector::sharedDirector()->getWinSize();
 2 
 3         //#1Q生成动画需要的数据c?nbsp;
 4         CCTexture2D *texture = CCTextureCache::sharedTextureCache()->addImage("picgirl.png");
 5 
 6 
 7         CCArray animFrames;
 8         for (int y = 0; y < 4; y++)
 9         {
10             for (int x = 0; x < 4; x++)
11             {
12                 CCSpriteFrame *frame = CCSpriteFrame::createWithTexture(texture, CCRectMake(32 * x, 48 * y, 32, 48));
13                 animFrames.addObject(frame);
14             }
15         }
16 
17         CCAnimation *animation = CCAnimation::createWithSpriteFrames(&animFrames, 0.2f);
18         
19 
20         //#2Q初始化q设|Sprite 
21         CCSprite *sprite = CCSprite::createWithSpriteFrame(CCSpriteFrame::createWithTexture(texture, CCRectMake(0 , 0, 32, 48)));//CCSprite::spriteWithSpriteFrame(frame0);//讄一个初始frame 
22         sprite->setPosition(ccp(s.width / 2, 100));
23         addChild(sprite);
24 
25         //#3Q用animation生成一个动d作animate 
26         CCAnimate *animate = CCAnimate::create(animation);
27         sprite->runAction(CCRepeatForever::create(animate));//重复播放 Q?br />动来用的囄

冬瓜 2014-01-29 21:37 发表评论
]]>
W? 章 GNU AWK~程语言 [转帖]W? 章 GNU AWK~程语言 http://m.shnenglu.com/zdhsoft/archive/2012/03/02/166973.html冬瓜冬瓜Fri, 02 Mar 2012 05:59:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2012/03/02/166973.htmlhttp://m.shnenglu.com/zdhsoft/comments/166973.htmlhttp://m.shnenglu.com/zdhsoft/archive/2012/03/02/166973.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/166973.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/166973.html特地转帖一下,有需要的朋有可以看看  阅读全文

冬瓜 2012-03-02 13:59 发表评论
]]>
epoll_N[转脓]http://m.shnenglu.com/zdhsoft/archive/2011/01/13/138443.html冬瓜冬瓜Thu, 13 Jan 2011 02:54:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2011/01/13/138443.htmlhttp://m.shnenglu.com/zdhsoft/comments/138443.htmlhttp://m.shnenglu.com/zdhsoft/archive/2011/01/13/138443.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/138443.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/138443.html相比于selectQepoll最大的好处在于它不会随着监听fd数目的增长而降低效率。因为在内核中的select实现中,它是采用轮询来处理的Q轮询的fd数目多Q自然耗时多?nbsp; 阅读全文

冬瓜 2011-01-13 10:54 发表评论
]]>
tokyo tyrant源码分析-M复制实现[转脓]http://m.shnenglu.com/zdhsoft/archive/2010/12/28/137624.html冬瓜冬瓜Tue, 28 Dec 2010 15:00:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2010/12/28/137624.htmlhttp://m.shnenglu.com/zdhsoft/comments/137624.htmlhttp://m.shnenglu.com/zdhsoft/archive/2010/12/28/137624.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/137624.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/137624.html  阅读全文

冬瓜 2010-12-28 23:00 发表评论
]]>
q程间通信Q管?/title><link>http://m.shnenglu.com/zdhsoft/archive/2010/12/28/137622.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Tue, 28 Dec 2010 14:51:00 GMT</pubDate><guid>http://m.shnenglu.com/zdhsoft/archive/2010/12/28/137622.html</guid><wfw:comment>http://m.shnenglu.com/zdhsoft/comments/137622.html</wfw:comment><comments>http://m.shnenglu.com/zdhsoft/archive/2010/12/28/137622.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://m.shnenglu.com/zdhsoft/comments/commentRss/137622.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/zdhsoft/services/trackbacks/137622.html</trackback:ping><description><![CDATA[     摘要: d高unix~程Q仔l看了一下管道,q将书中的例子修改ƈ实现?<br>虽然很简单,揭CZ多进E编E的基础?<br>用管道非常真是非常的单。以前只是看了,没有实践Q?<br>  <a href='http://m.shnenglu.com/zdhsoft/archive/2010/12/28/137622.html'>阅读全文</a><img src ="http://m.shnenglu.com/zdhsoft/aggbug/137622.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/zdhsoft/" target="_blank">冬瓜</a> 2010-12-28 22:51 <a href="http://m.shnenglu.com/zdhsoft/archive/2010/12/28/137622.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>RHEL/CentOS 5.5下编译安装FcitxQ小企鹅输入法)[转脓]http://m.shnenglu.com/zdhsoft/archive/2010/12/23/137299.html冬瓜冬瓜Thu, 23 Dec 2010 08:01:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2010/12/23/137299.htmlhttp://m.shnenglu.com/zdhsoft/comments/137299.htmlhttp://m.shnenglu.com/zdhsoft/archive/2010/12/23/137299.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/137299.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/137299.html  阅读全文

冬瓜 2010-12-23 16:01 发表评论
]]>
RHEL/CentOS 5.5上编译安装升ULinux 2.6.35.1新内核[转脓]http://m.shnenglu.com/zdhsoft/archive/2010/12/23/137295.html冬瓜冬瓜Thu, 23 Dec 2010 07:39:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2010/12/23/137295.htmlhttp://m.shnenglu.com/zdhsoft/comments/137295.htmlhttp://m.shnenglu.com/zdhsoft/archive/2010/12/23/137295.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/137295.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/137295.html阅读全文

冬瓜 2010-12-23 15:39 发表评论
]]>
GCC~译优化指南[转脓]http://m.shnenglu.com/zdhsoft/archive/2010/12/20/137080.html冬瓜冬瓜Mon, 20 Dec 2010 15:23:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2010/12/20/137080.htmlhttp://m.shnenglu.com/zdhsoft/comments/137080.htmlhttp://m.shnenglu.com/zdhsoft/archive/2010/12/20/137080.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/137080.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/137080.html
  阅读全文

冬瓜 2010-12-20 23:23 发表评论
]]>
Linux x命o分析[转脓]http://m.shnenglu.com/zdhsoft/archive/2010/12/16/136542.html冬瓜冬瓜Wed, 15 Dec 2010 16:28:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2010/12/16/136542.htmlhttp://m.shnenglu.com/zdhsoft/comments/136542.htmlhttp://m.shnenglu.com/zdhsoft/archive/2010/12/16/136542.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/136542.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/136542.html都可以达到关机或重启的目的,但是每个命o的工作流Eƈ不一栗它们都pY件包sysvinit产生Q?
你可以从|上下蝲它的源码来分析各个命令的程Q同Ӟsysvinit也包含了与登陆等有关的命令?
下面分析sysvinit-2.86软g包的源码Q同时参考它们的手册来对它们深入了解?
  阅读全文

冬瓜 2010-12-16 00:28 发表评论
]]>
C++多态技术[转脓]http://m.shnenglu.com/zdhsoft/archive/2010/12/05/135536.html冬瓜冬瓜Sun, 05 Dec 2010 14:29:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2010/12/05/135536.htmlhttp://m.shnenglu.com/zdhsoft/comments/135536.htmlhttp://m.shnenglu.com/zdhsoft/archive/2010/12/05/135536.html#Feedback3http://m.shnenglu.com/zdhsoft/comments/commentRss/135536.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/135536.html我不是不懂多态,只是用多了,而忘了对应的名词了。模板写多了Q我的程序中Q大多是模板Q成习惯了。也是静态多态?
除此之后Q我q把|上的MD5QCRC32QBase64{,全改成模板了。(具体看我的开源库Q?
q里我{贴了一个C++多态文章,如果你也忘了Q就当复习一下吧?

  阅读全文

冬瓜 2010-12-05 22:29 发表评论
]]>
SIO_KEEPALIVE_VALS 用户异常掉线[转脓]http://m.shnenglu.com/zdhsoft/archive/2010/11/25/134650.html冬瓜冬瓜Thu, 25 Nov 2010 09:09:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2010/11/25/134650.htmlhttp://m.shnenglu.com/zdhsoft/comments/134650.htmlhttp://m.shnenglu.com/zdhsoft/archive/2010/11/25/134650.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/134650.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/134650.html David.Zhu 2005/6/1  阅读全文

冬瓜 2010-11-25 17:09 发表评论
]]>
架构师给E序员的一信(转脓)http://m.shnenglu.com/zdhsoft/archive/2010/11/17/133895.html冬瓜冬瓜Wed, 17 Nov 2010 09:37:00 GMThttp://m.shnenglu.com/zdhsoft/archive/2010/11/17/133895.htmlhttp://m.shnenglu.com/zdhsoft/comments/133895.htmlhttp://m.shnenglu.com/zdhsoft/archive/2010/11/17/133895.html#Feedback0http://m.shnenglu.com/zdhsoft/comments/commentRss/133895.htmlhttp://m.shnenglu.com/zdhsoft/services/trackbacks/133895.html  阅读全文

冬瓜 2010-11-17 17:37 发表评论
]]>
91Ʒþþþþ | þ޾ƷƷ| Ʒþþþþ| ҹþþþƷӰԺ| ˾þþƷ鶹һ| þۺϺݺۺϾþ97ɫ| ޾ƷŮþþþ99| þþƷAVũ帾Ů| þñѵӰˬˬˬ| þ¶Ʒ| Ʒһþ㽶߿ | þ˽˹Ʒ| 99þwww˳ɾƷ| þֻоƷ4| þþþƷ| þþžžƷ99Ʒ| Ҫþðѹۿ| ɫۺϾþ| þþþAvר| ˾þô߽Ʒ| Ʒ91þþþþþa| ŮþþƷ㽶69| ݺɫþþۺ| Ʒ˿þþþþò| re99þþƷ99| þۺϾþڹ| ŷ޹׾þþþþþ| 99þҹɫƷվ| þþƷž޾Ʒ| ŷ߽˾þ| þþþþùƷ| þоƷƵ| þ˳ƷCAOPOREN| ƷŮþþþavˬ| þۺϾþۺϾþ| ˾þƵ| 91þþƷ91ɫҲ| þþۺϾɫ۹| þۺϾɫۺϾ99| þùһƬѹۿ| þҹ³˿ƬҹƷ|