﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-专职C++-随笔分类-转贴</title><link>http://www.cppblog.com/zdhsoft/category/13015.html</link><description>不能停止的脚步</description><language>zh-cn</language><lastBuildDate>Mon, 24 Feb 2020 22:32:46 GMT</lastBuildDate><pubDate>Mon, 24 Feb 2020 22:32:46 GMT</pubDate><ttl>60</ttl><item><title>[转贴]C++ 20 准备发布，C++ 23 提上议程</title><link>http://www.cppblog.com/zdhsoft/archive/2020/02/24/217154.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Mon, 24 Feb 2020 05:26:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2020/02/24/217154.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/217154.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2020/02/24/217154.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/217154.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/217154.html</trackback:ping><description><![CDATA[<p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">根据 Reddit C++ 版块上的信息，C++ 20 已经正式通过委员会草案，这意味着 C++ 20 可以准备发布。</p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;"><img height="263" src="https://oscimg.oschina.net/oscnet/up-201ca6bf0a828de00d31894ddd7ba9ec31f.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, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">&#8220;在近期 ISO C++ 委员会会议上，我们完成了 C++ 20 委员会草案，并投票决定将国际标准草案（DIS，Draft International Standard）发送出去，以进行最终批准和发布&#8221;，帖子介绍：&#8220;在程序上，DIS 可能会被拒绝，但是由于我们的程序和过程，这种情况极不可能发生。这意味着 C++ 20 已经完成，并将在几个月后发布该标准。&#8221;</p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">C++ 20 是近十年来影响最大的一个版本，新的特性众多，包括：</p><ul style="box-sizing: inherit; margin: 0px 0px 20px; padding: 0px 0px 0px 20px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;"><li style="box-sizing: inherit; line-height: 1.875em; margin-top: 0px;">模组（Modules）</li><li style="box-sizing: inherit; line-height: 1.875em;">协程（Coroutines）</li><li style="box-sizing: inherit; line-height: 1.875em;">标准库 Concepts 的概念</li><li style="box-sizing: inherit; line-height: 1.875em;">范围（range）</li><li style="box-sizing: inherit; line-height: 1.875em;"><code style="box-sizing: inherit; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">constexpr</code>支持：<code style="box-sizing: inherit; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">new</code>/&nbsp;<code style="box-sizing: inherit; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">delete</code>、<code style="box-sizing: inherit; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">dynamic_cast</code>、<code style="box-sizing: inherit; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">try</code>/&nbsp;<code style="box-sizing: inherit; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">catch</code>、虚拟</li><li style="box-sizing: inherit; line-height: 1.875em;"><code style="box-sizing: inherit; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">constexpr</code>&nbsp;向量和字符串</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, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, 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, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, 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, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, 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, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">预计这些新特性将会对开发者及 C++ 生态产生不小影响，特别是像协程这种巨大的变化。</p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">同时，在此次会议期间，委员会还通过了 C++ 23 计划，其中包括优先考虑模块化标准库、对协程、执行程序和网络的库支持。</p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, 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, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;"><a href="https://www.reddit.com/r/cpp/comments/f47x4o/202002_prague_iso_c_committee_trip_report_c20_is/" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">https://www.reddit.com/r/cpp/comments/f47x4o/202002_prague_iso_c_committee_trip_report_c20_is</a></p><img src ="http://www.cppblog.com/zdhsoft/aggbug/217154.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2020-02-24 13:26 <a href="http://www.cppblog.com/zdhsoft/archive/2020/02/24/217154.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转贴]2019 年 C++ 的发展</title><link>http://www.cppblog.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://www.cppblog.com/zdhsoft/archive/2020/01/11/217081.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/217081.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2020/01/11/217081.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/217081.html</wfw:commentRss><trackback:ping>http://www.cppblog.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, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">原文地址：<span style="font-family: verdana, &quot;courier new&quot;; 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, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">C++ 软件工程师&nbsp;<a href="https://www.bfilipek.com/p/about.html" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Bartek</a>&nbsp;发布博客，回顾了 C++ 2019 年的发展情况。</p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, 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, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">Bartek 主要介绍了 2019 年 C++ 特性上的演进、在全球的会议重大进展、相关工具的改进，以及 C++20 新特性的期待，他总结成三大关注点：</p><ul style="box-sizing: inherit; margin: 0px 0px 20px; padding: 0px 0px 0px 20px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, 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;">工具，现在编写 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, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">（需要注意的是，文章提出的只是 Bartek 的观点，并不代表整个 ISO C++ 委员会的观点。）</p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">从下表可以看出来，在 2019 年，C++ 社区做了许多事情，像我们关注的新特性方面的进展也有不少，比如 Clang&nbsp;<a href="https://www.oschina.net/news/105330/llvm-8-0-0-released" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">8.0.0</a>、<a href="https://www.oschina.net/news/109997/llvm-9-0-released" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">9.0.0</a>&nbsp;发布、<a href="https://www.oschina.net/news/105629/vs2019-general-availability" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">VS 2019</a>&nbsp;发布与&nbsp;<a href="https://www.oschina.net/news/106414/gcc-9-1-released" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">GCC 9.1</a>&nbsp;发布等。</p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, 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, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">简单总结起来，从 Clang 5.0、GCC 8.0、Visual Studio 15.7 和 Intel C++ Compiler 19.0.1 开始，所有编译器都支持 C++ 语言特性。虽然&nbsp;C++&nbsp;标准库需要其它支持，特别是并行算法和文件系统之类的要点。<code style="box-sizing: inherit; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">std::filesystem</code>需要使用到 GCC 8.1（或更高版本的 GCC 9.1）、Clang 3.9（或更高版本 7.0）和 Visual Studio 2017 15.7。并行算法更新最早在 Visual Studio 2017 15.7 中可用，但随着之后的更新，MSVC 团队添加了更多算法。</p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">关于 C++20 的讨论在今年占据主导地位，目前特性已经冻结，主要特性包括：</p><ul style="box-sizing: inherit; margin: 0px 0px 20px; padding: 0px 0px 0px 20px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, 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, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">constexpr</code>支持：<code style="box-sizing: inherit; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">new</code>/&nbsp;<code style="box-sizing: inherit; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">delete</code>，<code style="box-sizing: inherit; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">dynamic_cast</code>，<code style="box-sizing: inherit; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">try</code>/&nbsp;<code style="box-sizing: inherit; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">catch</code>，虚拟</li><li style="box-sizing: inherit; line-height: 1.875em;"><code style="box-sizing: inherit; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">constexpr</code>&nbsp;向量和字符串</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, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, 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, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, 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, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, 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, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">目前流行的编译器已经实现了许多 C++20 特性。Bartek 列了一个 C++20 新特性的小表：</p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, 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, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">工具方面，首先 Visual Studio 对 C++ 提供了众多新的支持，包括：</p><ul style="box-sizing: inherit; margin: 0px 0px 20px; padding: 0px 0px 0px 20px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, 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&nbsp;在 16.3 中可用</li><li style="box-sizing: inherit; line-height: 1.875em;">全面的<code style="box-sizing: inherit; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 13px; margin: 0px 3px; padding: 3px 4px; border: none; border-radius: 4px; background: #f6f6f6;">to_chars()</code>支持，满足了 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, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">Clang/LLVM 提供了许多强大的实用程序，比如：</p><ul style="box-sizing: inherit; margin: 0px 0px 20px; padding: 0px 0px 0px 20px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, 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 href="https://clang.llvm.org/docs/AddressSanitizer.html" 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 href="https://clang.llvm.org/docs/MemorySanitizer.html" 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, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, 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, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">PVS-Studio，这是一个使用 C/C++ 和 C# 编写的程序源代码中的错误检测工具，2019 年的一些显着变化包括 .NET Core 3 和 3.1 项目分析、MISRA 准则支持、40 多项新检查、对 Java、SonarQube 插件的支持。</p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">包管理器&nbsp;Conan&nbsp;与&nbsp;Microsoft/vcpkg 也都有一些新变化。</p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">最后 Bartek 介绍了 2019 年 C++ 在开发者人群中的地位依然稳定：</p><ul style="box-sizing: inherit; margin: 0px 0px 20px; padding: 0px 0px 0px 20px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;"><li style="box-sizing: inherit; line-height: 1.875em; margin-top: 0px;">TIOBE 编程语言排行榜中&nbsp;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 的调查中，C++ 排名第 6。</li></ul><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;">除了这些榜单，Bartek 自己也做了一个简单的调查问卷，结果显示了关于 C++ 的使用情况，包括使用的标准库版本、工具的选择与对 C++20 新特性的使用等：</p><p style="box-sizing: inherit; margin: 0px 0px 20px; line-height: inherit; color: #333333; font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, 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, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, 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, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: #ffffff;"><a href="https://www.bfilipek.com/2019/12/cpp-status-2019.html" 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://www.cppblog.com/zdhsoft/aggbug/217081.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2020-01-11 10:50 <a href="http://www.cppblog.com/zdhsoft/archive/2020/01/11/217081.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转贴]C++20 最新进展：加入模块化和协程，进入特性冻结阶段</title><link>http://www.cppblog.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://www.cppblog.com/zdhsoft/archive/2019/04/09/216345.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/216345.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2019/04/09/216345.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/216345.html</wfw:commentRss><trackback:ping>http://www.cppblog.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: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; font-size: 16px; background-color: #ffffff;"><span style="color: #4f4f4f; font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif;">有了Modules和协程后，go可以一边凉凉。</span><br />原文：<a href="https://www.oschina.net/news/104653/201902-kona-iso-c-committee-trip-report-c20?p=3">https://www.oschina.net/news/104653/201902-kona-iso-c-committee-trip-report-c20?p=3</a><br />刚刚结束的 C++ 标准委员会2019春季会议在夏威夷科纳举办，委员会在这次会议中确定了下一个国际标准 C++20 的全部特性，这标志着&nbsp;<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: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">按照 C++20 的发布计划，这次会议正是为了冻结 C++20 的特性而举办，进入特性冻结阶段(Feature freeze)意味着所有的功能特性将被冻结，并且不会再加入更多的新特性。</p><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, 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: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, 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 href="https://wg21.link/P1103" 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 href="https://wg21.link/N4736" 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 href="https://wg21.link/P1091" target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">static,&nbsp;thread_local, 和 lambda capture 的结构化绑定</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a href="https://wg21.link/P0339" target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::polymorphic_allocator&lt;&gt;</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a href="https://wg21.link/P0811" target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::midpoint&nbsp;和&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 href="https://wg21.link/P1001" target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::execution::unseq&nbsp;执行策略</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a href="https://wg21.link/P1227" target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::ssize()&nbsp;作为自由函数(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 href="https://wg21.link/P1024" target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::span&nbsp;的可用性增强</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a href="https://wg21.link/P0920" 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: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">协程的加入应该是最大的惊喜了，值得期待！官方还表示，C++20 应该会是一个像 C++11 那样的大版本。</p><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">以下的特性已在本次会议或之前的会议上通过了批准，但尚未添加到 C++20 中，因为目前规范仍在编写中。它们有望在2019年7月的科隆会议上被加入，不过由于时间限制，可能无法完成所有工作。</p><ul style="box-sizing: inherit; margin: 0px; padding: 0px 0px 0px 2.5em; color: #333333; font-family: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, 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 href="https://wg21.link/P1306" 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 href="https://wg21.link/P1135" 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 href="https://wg21.link/P0645" 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 href="https://wg21.link/P1004" target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">constexpr&nbsp;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 href="https://wg21.link/P0784" target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Allow&nbsp;constexpr&nbsp;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 href="https://wg21.link/P1328" target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">constexpr&nbsp;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 href="https://wg21.link/P1207" 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 href="https://wg21.link/P0798" target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Monadic operations for&nbsp;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 href="https://en.cppreference.com/w/cpp/experimental/source_location" 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 href="https://wg21.link/P0429" 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 href="https://wg21.link/P1222" 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 href="https://wg21.link/P0228" 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 href="https://wg21.link/P1293" 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 href="https://wg21.link/P0881" 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 href="https://wg21.link/P1272" 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 href="https://wg21.link/P1143" 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 href="https://wg21.link/P1152R1" target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Deprecating some uses of&nbsp;volatile</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a href="https://wg21.link/P0593" 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 href="https://wg21.link/p1099" 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: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, 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: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, 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 href="https://en.cppreference.com/w/cpp/concepts" 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 href="https://en.cppreference.com/w/cpp/language/attributes/contract" 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 href="https://en.cppreference.com/w/cpp/ranges" 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 href="https://en.cppreference.com/w/cpp/utility#Relational_operators_and_comparison" target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">operator&lt;=&gt;</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:&nbsp;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 href="https://en.cppreference.com/w/cpp/container/span" 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 href="https://en.cppreference.com/w/cpp/io#Synchronized_output" 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 href="https://en.cppreference.com/w/cpp/atomic/atomic_ref" 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: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, 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: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, 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: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, 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: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">自上次会议以来的变更：</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: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, 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 href="https://en.cppreference.com/w/cpp/language/constraints" 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;">&nbsp;</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 href="https://en.cppreference.com/w/cpp/experimental/ranges" 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 href="https://wg21.link/P0542" 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;">&nbsp;</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 href="https://wg21.link/P1103" 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;">&nbsp;</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 href="https://wg21.link/N4723" 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;">&nbsp;</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 href="https://wg21.link/P0443" 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;">&nbsp;</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 href="https://wg21.link/N4711" 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 href="https://wg21.link/P0194" 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;">&nbsp;</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: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, 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++ 编程语言：C++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 = 技术规范。在该阶段中，特性分支处于可使用状态，但尚未被所有厂商实现。如 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 的草案，用于给标准机构进行审查和反馈("beta testing")。</p></li></ul></blockquote><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: &quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">据透露，工具研究小组 SG15 决定创建一个 C++&nbsp;生态系统技术报告，该报告将描述新模块化 C++ 中工具（构建系统等）的最佳实践和最新技术。</p><img src ="http://www.cppblog.com/zdhsoft/aggbug/216345.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2019-04-09 13:25 <a href="http://www.cppblog.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://www.cppblog.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://www.cppblog.com/zdhsoft/archive/2017/08/25/215192.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/215192.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2017/08/25/215192.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/215192.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/215192.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 跟据vscode官网pdf，再编辑Visual Studio Code Keyboard shortcuts for windowsGeneral快捷键说明Ctrl+Shift+P, F1Show Command PaletteCtrl+PQuick OpenCtrl+Shift+NNew window/instanceCtrl+Shift+WClose window/instanceBasic ...&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2017/08/25/215192.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/215192.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2017-08-25 10:31 <a href="http://www.cppblog.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 预览版发布，接近最终版</title><link>http://www.cppblog.com/zdhsoft/archive/2017/08/11/215154.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Fri, 11 Aug 2017 12:00:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2017/08/11/215154.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/215154.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2017/08/11/215154.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/215154.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/215154.html</trackback:ping><description><![CDATA[<p data-anchor-id="vuxe" style="margin: 0px 0px 15px; padding: 0px; border: 0px; float: none; line-height: 1.8; clear: both; width: 610px; font-family: Helvetica, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, 微软雅黑, STHeiti, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; background-color: #ffffff;">原文地址：<span style="font-family: verdana, &quot;courier new&quot;;">http://www.infoq.com/cn/news/2017/08/vs2017-153</span></p><p data-anchor-id="vuxe" style="margin: 0px 0px 15px; padding: 0px; border: 0px; float: none; line-height: 1.8; clear: both; width: 610px; font-family: Helvetica, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, 微软雅黑, STHeiti, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; background-color: #ffffff;">从Visual Studio 2017 15.3预览版的发布时间表中可以看出，Microsoft似乎马上要发布这一版本的正式版。过去几周对VS2017 15.3的改动主要集中在问题修复上，开发人员可以注意到，最近的VS2017 15.3 Preview版本提供了对C# 7.1的支持，对C++语言服务的改进，以及对IDE自身的几处改动。通过几个重要的问题修复，提高了稳定性和性能。</p><p data-anchor-id="cin9" style="margin: 0px 0px 15px; padding: 0px; border: 0px; float: none; line-height: 1.8; clear: both; width: 610px; font-family: Helvetica, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, 微软雅黑, STHeiti, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; background-color: #ffffff;">C++开发人员将看到一些IDE的改动，例如一些常用模板的位置发生了改变。基于Win32的项目现在可以在Windows 桌面类别下找到。Windows控制台和桌面程序模板在创建过程中不需要调用向导，可以分别创建他们各自的项目。Windows桌面向导可供需要的人员使用。</p><p data-anchor-id="7qmq" style="margin: 0px 0px 15px; padding: 0px; border: 0px; float: none; line-height: 1.8; clear: both; width: 610px; font-family: Helvetica, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, 微软雅黑, STHeiti, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; background-color: #ffffff;">15.3的Preview目前已经<a href="https://github.com/dotnet/roslyn/blob/master/docs/Language%20Feature%20Status.md" target="_blank" style="text-decoration-line: none; color: #286ab2; margin: 0px; border: 0px; padding: 0px; outline: none !important;">支持</a>C# 7.1的语言特性。InfoQ的首席编辑Jonathan Allen分两部分对这些特性进行了深入介绍。<a href="https://www.infoq.com/news/2017/06/CSharp-7.1-a" target="_blank" style="text-decoration-line: none; color: #286ab2; margin: 0px; border: 0px; padding: 0px; outline: none !important;">第一部分</a>关于异步主函数（Async Main）和默认表达式（Default Expressions），<a href="https://www.infoq.com/news/2017/06/CSharp-7.1-b" target="_blank" style="text-decoration-line: none; color: #286ab2; margin: 0px; border: 0px; padding: 0px; outline: none !important;">第二部分</a>探讨了推导元组名（Infer Tuple Names），以及使用泛型的模式匹配（Pattern-matching with Generics）。有了15.3 Preview，开发人员现在可以在VS2017中体验这些特性。</p><p data-anchor-id="g7gk" style="margin: 0px 0px 15px; padding: 0px; border: 0px; float: none; line-height: 1.8; clear: both; width: 610px; font-family: Helvetica, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, 微软雅黑, STHeiti, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; background-color: #ffffff;">一个很有用的特性是增加了信息栏。如果有一个安装的扩展程序运行不正常，信息栏将给出通知，允许用户决定是否禁用有问题的扩展程序，或者不管它。</p><p data-anchor-id="jm8d" style="margin: 0px 0px 15px; padding: 0px; border: 0px; float: none; line-height: 1.8; clear: both; width: 610px; font-family: Helvetica, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, 微软雅黑, STHeiti, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; background-color: #ffffff;">VS2017 15.3增加的其他特性包括命令行工具<a href="https://blogs.msdn.microsoft.com/heaths/2017/04/21/vswhere-is-now-installed-with-visual-studio-2017/" target="_blank" style="text-decoration-line: none; color: #286ab2; margin: 0px; border: 0px; padding: 0px; outline: none !important;">vswhere.exe</a>。可以使用该工具获得VS2017安装实例的信息。该工具在15.2版本中首次出现，但是在15.3版本已经被修改，不再默认显示VS2017 Preview的实例。要获得预览版的安装信息，需要加入命令行参数prerelease。</p><p data-anchor-id="6cl8" style="margin: 0px 0px 15px; padding: 0px; border: 0px; float: none; line-height: 1.8; clear: both; width: 610px; font-family: Helvetica, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, 微软雅黑, STHeiti, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; background-color: #ffffff;">修复的问题有：</p><ul style="margin: 0px 0px 15px 10px; padding: 0px; list-style-position: initial; list-style-image: initial; border: 0px; clear: left; font-family: Helvetica, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, 微软雅黑, STHeiti, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; background-color: #ffffff;"><li style="margin: 0px 0px 0px 15px; padding: 0px; border: 0px; float: none; clear: none;">启用轻量级解决方案负载可以减少构建解决方案的时间</li><li style="margin: 0px 0px 0px 15px; padding: 0px; border: 0px; float: none; clear: none;">修复了解决方案管理器工具窗口，这样文件自动定位功能可以正常运行</li><li style="margin: 0px 0px 0px 15px; padding: 0px; border: 0px; float: none; clear: none;">各种稳定性方面的改进和问题修复</li></ul><p data-anchor-id="rl24" style="margin: 0px 0px 15px; padding: 0px; border: 0px; float: none; line-height: 1.8; clear: both; width: 610px; font-family: Helvetica, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, 微软雅黑, STHeiti, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; background-color: #ffffff;">如往常一样，不建议将Visual Studio预览版用于生产系统。感兴趣的开发人员现在可以<a href="https://www.visualstudio.com/vs/preview/" target="_blank" style="text-decoration-line: none; color: #286ab2; margin: 0px; border: 0px; padding: 0px; outline: none !important;">下载</a>Visual Studio 2017 15.3 Preview，也可参看完整的<a href="https://www.visualstudio.com/en-us/news/releasenotes/vs2017-Preview-relnotes#15.3.0" target="_blank" style="text-decoration-line: none; color: #286ab2; margin: 0px; border: 0px; padding: 0px; outline: none !important;">版本说明</a>。</p><p data-anchor-id="wzd0" style="margin: 0px 0px 15px; padding: 0px; border: 0px; float: none; line-height: 1.8; clear: both; width: 610px; font-family: Helvetica, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, 微软雅黑, STHeiti, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif; background-color: #ffffff;"><span style="font-weight: 600; margin: 0px; border: 0px; padding: 0px;">查看英文原文：</span>&nbsp;<a href="https://www.infoq.com/news/2017/08/vs2017-153" target="_blank" style="text-decoration-line: none; color: #286ab2; margin: 0px; border: 0px; padding: 0px; outline: none !important;">Visual Studio 2017 15.3 Preview Nears Final Release</a></p><img src ="http://www.cppblog.com/zdhsoft/aggbug/215154.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2017-08-11 20:00 <a href="http://www.cppblog.com/zdhsoft/archive/2017/08/11/215154.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转贴]C++17中那些值得关注的特性（上）</title><link>http://www.cppblog.com/zdhsoft/archive/2017/07/28/215131.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Fri, 28 Jul 2017 05:25:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2017/07/28/215131.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/215131.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2017/07/28/215131.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/215131.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/215131.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: C++17标准在2017上半年已经讨论确定，正在形成ISO标准文档，今年晚些时候会正式发布。本文将介绍最新标准中值得开发者关注的新特新和基本用法。<br><br>总的来说C++17相比C++11的新特性来说新特性不算多，做了一些小幅改进。C++17增加了数十项新特性，值得关注的特性大概有下面这些：&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2017/07/28/215131.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/215131.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2017-07-28 13:25 <a href="http://www.cppblog.com/zdhsoft/archive/2017/07/28/215131.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转贴]2017 开发者生态报告：Java 最火，Go 最有前途</title><link>http://www.cppblog.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://www.cppblog.com/zdhsoft/archive/2017/07/19/215120.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/215120.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2017/07/19/215120.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/215120.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/215120.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: JetBrains 在 2016 年底至 2017 年初期间，对 5000 多名开发人员进行了调查，以研究最新的开发生态。<br><br>最近，调查结果已公布：Java 被评为最流行的语言，JavaScript 是最常用的语言，而 Go 被认为是最有前途的语言。&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2017/07/19/215120.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/215120.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2017-07-19 15:34 <a href="http://www.cppblog.com/zdhsoft/archive/2017/07/19/215120.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转贴]程序媛不如程序员？看看这些高颜值的技术大神</title><link>http://www.cppblog.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://www.cppblog.com/zdhsoft/archive/2017/07/06/215055.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/215055.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2017/07/06/215055.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/215055.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/215055.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 本文不是为了让读者去评判这些程序媛的颜值，而是为了让大众知道，在代码背后，也存在这样一群女性，她们利用自己的技术战胜了世人的偏见，用自己的实力赢得了如今的地位。在这个男性统治的数字世界，她们的成就尤为不易。未来，应该有更多的程序媛，而不是程序员鼓励师。&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2017/07/06/215055.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/215055.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2017-07-06 11:03 <a href="http://www.cppblog.com/zdhsoft/archive/2017/07/06/215055.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>转:怎么解决迅雷资源被举报无法使用高速通道</title><link>http://www.cppblog.com/zdhsoft/archive/2016/11/29/214450.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Tue, 29 Nov 2016 04:56:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2016/11/29/214450.html</guid><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2016/11/29/214450.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/214450.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2016-11-29 12:56 <a href="http://www.cppblog.com/zdhsoft/archive/2016/11/29/214450.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>转：java中Keytool的使用总结</title><link>http://www.cppblog.com/zdhsoft/archive/2016/11/29/214449.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Tue, 29 Nov 2016 04:42:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2016/11/29/214449.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/214449.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2016/11/29/214449.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/214449.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/214449.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2016/11/29/214449.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/214449.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2016-11-29 12:42 <a href="http://www.cppblog.com/zdhsoft/archive/2016/11/29/214449.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>转：ios app 实现热更新（无需发新版本实现app添加新功能）</title><link>http://www.cppblog.com/zdhsoft/archive/2016/11/29/214448.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Tue, 29 Nov 2016 04:38:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2016/11/29/214448.html</guid><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2016/11/29/214448.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/214448.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2016-11-29 12:38 <a href="http://www.cppblog.com/zdhsoft/archive/2016/11/29/214448.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>转：iOS-OC-APP热更新,动态更新(仿QQ打开或关闭某个功能)</title><link>http://www.cppblog.com/zdhsoft/archive/2016/11/29/214447.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Tue, 29 Nov 2016 04:37:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2016/11/29/214447.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/214447.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2016/11/29/214447.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/214447.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/214447.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2016/11/29/214447.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/214447.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2016-11-29 12:37 <a href="http://www.cppblog.com/zdhsoft/archive/2016/11/29/214447.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>转贴:Android平台免Root无侵入AOP框架Dexposed使用详解</title><link>http://www.cppblog.com/zdhsoft/archive/2016/11/29/214446.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Tue, 29 Nov 2016 04:35:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2016/11/29/214446.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/214446.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2016/11/29/214446.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/214446.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/214446.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2016/11/29/214446.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/214446.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2016-11-29 12:35 <a href="http://www.cppblog.com/zdhsoft/archive/2016/11/29/214446.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>转贴:Win10年度更新开发必备：VS2015 Update 3正式版下载汇总</title><link>http://www.cppblog.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://www.cppblog.com/zdhsoft/archive/2016/11/29/214445.html</guid><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2016/11/29/214445.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/214445.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2016-11-29 12:31 <a href="http://www.cppblog.com/zdhsoft/archive/2016/11/29/214445.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Shell环境下删除命令如何排除指定文件[转]</title><link>http://www.cppblog.com/zdhsoft/archive/2014/02/12/205718.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Wed, 12 Feb 2014 01:52:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2014/02/12/205718.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/205718.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2014/02/12/205718.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/205718.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/205718.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: http://www.blogjava.net/kuuyee/archive/2013/04/21/398171.html&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2014/02/12/205718.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/205718.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2014-02-12 09:52 <a href="http://www.cppblog.com/zdhsoft/archive/2014/02/12/205718.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Linux下列出所有子目录及磁盘占用情况[转]</title><link>http://www.cppblog.com/zdhsoft/archive/2014/02/12/205716.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Wed, 12 Feb 2014 01:48:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2014/02/12/205716.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/205716.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2014/02/12/205716.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/205716.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/205716.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 原文地址:http://www.blogjava.net/kuuyee/archive/2011/04/25/348985.html <br><br>今天Jenkins(以前叫Hudson)CI服务器突然挂了，排查了半天发现磁盘已经100%，真后悔当初没把磁盘设大点，其实可以用LVM调整一下，但是心里还是没底，怕把数据都丢失了，决定以后再调整磁盘分配。目前先吧Jenkins下没用的项目都干掉，可以腾出很多空间。<br><br>我们都知道使用du命令可以查看目录，例如查看/home/kuuyee目录占用磁盘空间大小可以使用下面的命令：&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2014/02/12/205716.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/205716.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2014-02-12 09:48 <a href="http://www.cppblog.com/zdhsoft/archive/2014/02/12/205716.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>泰然cocos2d-x多分辨率适配方案(转)</title><link>http://www.cppblog.com/zdhsoft/archive/2014/02/03/cocos2dxzt01.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Mon, 03 Feb 2014 05:22:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2014/02/03/cocos2dxzt01.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/205628.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2014/02/03/cocos2dxzt01.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/205628.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/205628.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 原文地址:http://www.ityran.com/archives/2911<br><br>DesignResolutionSize&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2014/02/03/cocos2dxzt01.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/205628.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2014-02-03 13:22 <a href="http://www.cppblog.com/zdhsoft/archive/2014/02/03/cocos2dxzt01.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>开始学习cocos2dx之二:AndroidManifest.xml文件解析</title><link>http://www.cppblog.com/zdhsoft/archive/2014/02/03/cocos2dx03.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Mon, 03 Feb 2014 04:14:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2014/02/03/cocos2dx03.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/205627.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2014/02/03/cocos2dx03.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/205627.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/205627.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 转贴部分地址：http://www.cnblogs.com/pilang/archive/2011/04/20/2022932.html<br>转贴内容：<br>一、关于AndroidManifest.xml<br>AndroidManifest.xml 是每个android程序中必须的文件。它位于整个项目的根目录，描述了package中暴露的组件（activities, services, 等等），他们各自的实现类，各种能被处理的数据和启动位置。 除了能声明程序中的Activities, ContentProviders, Services, 和Intent Receivers,还能指定permissions和instrumentation（安全控制和测试）&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2014/02/03/cocos2dx03.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/205627.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2014-02-03 12:14 <a href="http://www.cppblog.com/zdhsoft/archive/2014/02/03/cocos2dx03.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>开始学习cocos2dx之二：一个简单的动画 </title><link>http://www.cppblog.com/zdhsoft/archive/2014/01/29/cocos2dx02.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Wed, 29 Jan 2014 13:37:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2014/01/29/cocos2dx02.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/205603.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2014/01/29/cocos2dx02.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/205603.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/205603.html</trackback:ping><description><![CDATA[参考的博客地址http://4137613.blog.51cto.com/4127613/759610<br />但是这个博客的地址的例子，不适合2.2.2,我把代码修改了一下，OK了！参考代码如下。（原理参考原文<span style="font-size: 13px; color: #008080;">&nbsp;1</span><span style="background-color: #eeeeee; font-size: 13px;">&nbsp;</span><span style="background-color: #eeeeee; font-size: 13px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CCSize&nbsp;s&nbsp;</span><span style="background-color: #eeeeee; font-size: 13px;">=</span><span style="background-color: #eeeeee; font-size: 13px;">&nbsp;CCDirector::sharedDirector()</span><span style="background-color: #eeeeee; font-size: 13px;">-&gt;</span><span style="background-color: #eeeeee; font-size: 13px;">getWinSize();</span><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><span style="color: #008080; ">&nbsp;2</span>&nbsp;<br /><span style="color: #008080; ">&nbsp;3</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #008000; ">//</span><span style="color: #008000; ">#1：生成动画需要的数据类&nbsp;</span><span style="color: #008000; "><br /></span><span style="color: #008080; ">&nbsp;4</span>&nbsp;<span style="color: #008000; "></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CCTexture2D&nbsp;*texture&nbsp;=&nbsp;CCTextureCache::sharedTextureCache()-&gt;addImage("picgirl.png");<br /><span style="color: #008080; ">&nbsp;5</span>&nbsp;<br /><span style="color: #008080; ">&nbsp;6</span>&nbsp;<br /><span style="color: #008080; ">&nbsp;7</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CCArray&nbsp;animFrames;<br /><span style="color: #008080; ">&nbsp;8</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF; ">for</span>&nbsp;(<span style="color: #0000FF; ">int</span>&nbsp;y&nbsp;=&nbsp;0;&nbsp;y&nbsp;&lt;&nbsp;4;&nbsp;y++)<br /><span style="color: #008080; ">&nbsp;9</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br /><span style="color: #008080; ">10</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0000FF; ">for</span>&nbsp;(<span style="color: #0000FF; ">int</span>&nbsp;x&nbsp;=&nbsp;0;&nbsp;x&nbsp;&lt;&nbsp;4;&nbsp;x++)<br /><span style="color: #008080; ">11</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br /><span style="color: #008080; ">12</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CCSpriteFrame&nbsp;*frame&nbsp;=&nbsp;CCSpriteFrame::createWithTexture(texture,&nbsp;CCRectMake(32&nbsp;*&nbsp;x,&nbsp;48&nbsp;*&nbsp;y,&nbsp;32,&nbsp;48));<br /><span style="color: #008080; ">13</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;animFrames.addObject(frame);<br /><span style="color: #008080; ">14</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><span style="color: #008080; ">15</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><span style="color: #008080; ">16</span>&nbsp;<br /><span style="color: #008080; ">17</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CCAnimation&nbsp;*animation&nbsp;=&nbsp;CCAnimation::createWithSpriteFrames(&amp;animFrames,&nbsp;0.2f);<br /><span style="color: #008080; ">18</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><span style="color: #008080; ">19</span>&nbsp;<br /><span style="color: #008080; ">20</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #008000; ">//</span><span style="color: #008000; ">#2：初始化并设置Sprite&nbsp;</span><span style="color: #008000; "><br /></span><span style="color: #008080; ">21</span>&nbsp;<span style="color: #008000; "></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CCSprite&nbsp;*sprite&nbsp;=&nbsp;CCSprite::createWithSpriteFrame(CCSpriteFrame::createWithTexture(texture,&nbsp;CCRectMake(0&nbsp;,&nbsp;0,&nbsp;32,&nbsp;48)));<span style="color: #008000; ">//</span><span style="color: #008000; ">CCSprite::spriteWithSpriteFrame(frame0);</span><span style="color: #008000; ">//</span><span style="color: #008000; ">设置一个初始frame&nbsp;</span><span style="color: #008000; "><br /></span><span style="color: #008080; ">22</span>&nbsp;<span style="color: #008000; "></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sprite-&gt;setPosition(ccp(s.width&nbsp;/&nbsp;2,&nbsp;100));<br /><span style="color: #008080; ">23</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addChild(sprite);<br /><span style="color: #008080; ">24</span>&nbsp;<br /><span style="color: #008080; ">25</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #008000; ">//</span><span style="color: #008000; ">#3：使用animation生成一个动画动作animate&nbsp;</span><span style="color: #008000; "><br /></span><span style="color: #008080; ">26</span>&nbsp;<span style="color: #008000; "></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CCAnimate&nbsp;*animate&nbsp;=&nbsp;CCAnimate::create(animation);</div><span style="font-size: 13px; color: #008080;">27</span><span style="background-color: #eeeeee; font-size: 13px;">&nbsp;</span><span style="background-color: #eeeeee; font-size: 13px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sprite</span><span style="background-color: #eeeeee; font-size: 13px;">-&gt;</span><span style="background-color: #eeeeee; font-size: 13px;">runAction(CCRepeatForever::create(animate));</span><span style="font-size: 13px; color: #008000;">//</span><span style="font-size: 13px; color: #008000;">重复播放&nbsp;</span>）<br />动来用的图片<img src="http://www.cppblog.com/images/cppblog_com/zdhsoft/picgirl.png" border="0" alt="" width="128" height="192" /><img src ="http://www.cppblog.com/zdhsoft/aggbug/205603.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2014-01-29 21:37 <a href="http://www.cppblog.com/zdhsoft/archive/2014/01/29/cocos2dx02.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>第 6 章 GNU AWK编程语言 [转帖]第 6 章 GNU AWK编程语言 </title><link>http://www.cppblog.com/zdhsoft/archive/2012/03/02/166973.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Fri, 02 Mar 2012 05:59:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2012/03/02/166973.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/166973.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2012/03/02/166973.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/166973.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/166973.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 虽然有C++，但在很多时候，用bash脚本处理东西，是非常快捷的事情。特别用户的账单。awk在里面又是一个非常重要的角色。<br>特地转帖一下，有需要的朋有可以看看&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2012/03/02/166973.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/166973.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2012-03-02 13:59 <a href="http://www.cppblog.com/zdhsoft/archive/2012/03/02/166973.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>epoll精髓[转贴]</title><link>http://www.cppblog.com/zdhsoft/archive/2011/01/13/138443.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Thu, 13 Jan 2011 02:54:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2011/01/13/138443.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/138443.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2011/01/13/138443.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/138443.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/138443.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在linux的网络编程中，很长的时间都在使用select来做事件触发。在linux新的内核中，有了一种替换它的机制，就是epoll。<br>相比于select，epoll最大的好处在于它不会随着监听fd数目的增长而降低效率。因为在内核中的select实现中，它是采用轮询来处理的，轮询的fd数目越多，自然耗时越多。&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2011/01/13/138443.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/138443.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2011-01-13 10:54 <a href="http://www.cppblog.com/zdhsoft/archive/2011/01/13/138443.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>tokyo tyrant源码分析-主从复制实现[转贴]</title><link>http://www.cppblog.com/zdhsoft/archive/2010/12/28/137624.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Tue, 28 Dec 2010 15:00:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2010/12/28/137624.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/137624.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2010/12/28/137624.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/137624.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/137624.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: "tyrant分析-总体设计"中已经提到，slave起一个线程(do_slave)做主从复制，它和master建立tcp连接，发送请求命令和起始时间rts +1(上次的更新时间加1秒)给master，然后循环的从master那里接收一条条的记录，更新自己db、ulog和rts file。do_slave是以1秒为频率执行的。(实际是等待一次do_slave执行完毕后，再等待1秒，然后进入下一次的do_slave，依次循环。所以"以1秒为频率执行"的表达似乎并不准确。从下面可以看到一次do_slave有可能执行较长时间)<br>&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2010/12/28/137624.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/137624.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2010-12-28 23:00 <a href="http://www.cppblog.com/zdhsoft/archive/2010/12/28/137624.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>进程间通信：管道</title><link>http://www.cppblog.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://www.cppblog.com/zdhsoft/archive/2010/12/28/137622.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/137622.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2010/12/28/137622.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/137622.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/137622.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 翻开高级unix编程，仔细看了一下管道，并将书中的例子修改并实现。<br>虽然很简单，确揭示了多进程编程的基础。<br>用管道非常真是非常的简单。以前只是看了，没有实践！<br>&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2010/12/28/137622.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/137622.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2010-12-28 22:51 <a href="http://www.cppblog.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下编译安装Fcitx（小企鹅输入法）[转贴]</title><link>http://www.cppblog.com/zdhsoft/archive/2010/12/23/137299.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Thu, 23 Dec 2010 08:01:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2010/12/23/137299.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/137299.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2010/12/23/137299.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/137299.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/137299.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: PS: 因本人家里的台式机比较老，其中的显卡是04年的nvidia mx440，Ubuntu 9.10、10.04与Fedora 12、13都对其支持不好，手动安装显卡驱动后可以用，但很不稳定，X经常崩溃。只会换回CentOS 5做桌面了。本本上还是Win7+Ubuntu 10。换回CentOS 5，必定要安装Fcitx输入法，默认的scim输入法太烂了。Ubuntu与Fedora下安装fcitx输入法比较简单，因为有编译好的deb和rpm包。而在CentOS下安装有点麻烦。<br>&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2010/12/23/137299.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/137299.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2010-12-23 16:01 <a href="http://www.cppblog.com/zdhsoft/archive/2010/12/23/137299.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>RHEL/CentOS 5.5上编译安装升级Linux 2.6.35.1新内核[转贴]</title><link>http://www.cppblog.com/zdhsoft/archive/2010/12/23/137295.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Thu, 23 Dec 2010 07:39:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2010/12/23/137295.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/137295.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2010/12/23/137295.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/137295.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/137295.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 昨天偶去Linux内核网站（www.kernel.org）上逛时，发现最新的Linux Kernel稳定版已经是2.6.35.1，近来内核版本更新好快哦&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2010/12/23/137295.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/137295.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2010-12-23 15:39 <a href="http://www.cppblog.com/zdhsoft/archive/2010/12/23/137295.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>GCC编译优化指南[转贴]</title><link>http://www.cppblog.com/zdhsoft/archive/2010/12/20/137080.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Mon, 20 Dec 2010 15:23:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2010/12/20/137080.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/137080.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2010/12/20/137080.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/137080.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/137080.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 网上关于编译优化的文章很多，但大多零零散散，不成体系，本文试图给出一个完整和清晰的优化思路，同时提供在实践中如何进行优化的详尽参考。但是，在介绍所有优化知识之前首先引用LFS-Book中的一句忠告：“使用编译器优化得到的小幅度性能提升，与它带来的风险相比微不足道”。你还要进行优化吗？<br><br>&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2010/12/20/137080.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/137080.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2010-12-20 23:23 <a href="http://www.cppblog.com/zdhsoft/archive/2010/12/20/137080.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Linux 关机命令分析[转贴]</title><link>http://www.cppblog.com/zdhsoft/archive/2010/12/16/136542.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Wed, 15 Dec 2010 16:28:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2010/12/16/136542.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/136542.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2010/12/16/136542.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/136542.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/136542.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: linux下有关关机重启的命令主要有：shutdown、reboot、halt、poweroff、telinit、init。它们<br>都可以达到关机或重启的目的，但是每个命令的工作流程并不一样。它们都由软件包sysvinit产生，<br>你可以从网上下载它的源码来分析各个命令的流程，同时，sysvinit也包含了与登陆等有关的命令。<br>下面分析sysvinit-2.86软件包的源码，同时参考它们的手册来对它们深入了解。 <br>&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2010/12/16/136542.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/136542.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2010-12-16 00:28 <a href="http://www.cppblog.com/zdhsoft/archive/2010/12/16/136542.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C++多态技术[转贴]</title><link>http://www.cppblog.com/zdhsoft/archive/2010/12/05/135536.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Sun, 05 Dec 2010 14:29:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2010/12/05/135536.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/135536.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2010/12/05/135536.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/135536.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/135536.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 转贴说明：前几天，去某公司面试。被问到多态。汗，我居然没有答上来。<br>我不是不懂多态，只是用多了，而忘了对应的名词了。模板写多了，我的程序中，大多是模板，成习惯了。也就是静态多态。<br>除此之后，我还把网上的MD5，CRC32，Base64等，全改成模板了。（具体看我的开源库）。<br>这里我转贴了一个C++多态文章，如果你也忘了，就当复习一下吧。<br><br>&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2010/12/05/135536.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/135536.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2010-12-05 22:29 <a href="http://www.cppblog.com/zdhsoft/archive/2010/12/05/135536.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>SIO_KEEPALIVE_VALS 用户异常掉线检测[转贴]</title><link>http://www.cppblog.com/zdhsoft/archive/2010/11/25/134650.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Thu, 25 Nov 2010 09:09:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2010/11/25/134650.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/134650.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2010/11/25/134650.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/134650.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/134650.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 用户异常掉线检测<br>                                 David.Zhu  2005/6/1&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2010/11/25/134650.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/134650.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2010-11-25 17:09 <a href="http://www.cppblog.com/zdhsoft/archive/2010/11/25/134650.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>架构师给程序员的一封信(转贴)</title><link>http://www.cppblog.com/zdhsoft/archive/2010/11/17/133895.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Wed, 17 Nov 2010 09:37:00 GMT</pubDate><guid>http://www.cppblog.com/zdhsoft/archive/2010/11/17/133895.html</guid><wfw:comment>http://www.cppblog.com/zdhsoft/comments/133895.html</wfw:comment><comments>http://www.cppblog.com/zdhsoft/archive/2010/11/17/133895.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/zdhsoft/comments/commentRss/133895.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/zdhsoft/services/trackbacks/133895.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 下面的邮件是某Architect发给他的Engineering团队的（来源），我觉得挺不错的，翻译过来，我相信我们所有的程序员都能从中学到很多东西。下面是这封邮件——<br>&nbsp;&nbsp;<a href='http://www.cppblog.com/zdhsoft/archive/2010/11/17/133895.html'>阅读全文</a><img src ="http://www.cppblog.com/zdhsoft/aggbug/133895.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/zdhsoft/" target="_blank">冬瓜</a> 2010-11-17 17:37 <a href="http://www.cppblog.com/zdhsoft/archive/2010/11/17/133895.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>