??xml version="1.0" encoding="utf-8" standalone="yes"?>1һ:C++博客 - ڲͼ//www.owiwv.icu/zdhsoft/不能停止的脚?/description>zh-cnMon, 14 Oct 2019 04:50:13 GMTMon, 14 Oct 2019 04:50:13 GMT60[转脓]C++20 最新进展:加入模块化和协程Q进入特性冻l阶D?/title><link>//www.owiwv.icu/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>//www.owiwv.icu/zdhsoft/archive/2019/04/09/216345.html</guid><wfw:comment>//www.owiwv.icu/zdhsoft/comments/216345.html</wfw:comment><comments>//www.owiwv.icu/zdhsoft/archive/2019/04/09/216345.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.owiwv.icu/zdhsoft/comments/commentRss/216345.html</wfw:commentRss><trackback:ping>//www.owiwv.icu/zdhsoft/services/trackbacks/216345.html</trackback:ping><description><![CDATA[<p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;"><span style="color: #4f4f4f; font-family: "Microsoft YaHei", "SF Pro Display", Roboto, Noto, Arial, "PingFang SC", sans-serif;">有了Modules和协E后Qgo可以一边凉凉?/span><br />原文Q?a >https://www.oschina.net/news/104653/201902-kona-iso-c-committee-trip-report-c20?p=3</a><br />刚刚l束?C++ 标准委员?019春季会议在夏威夷U纳丑֊Q委员会在这ơ会议中定了下一个国际标?C++20 的全部特性,q标志着 <span style="box-sizing: inherit; font-weight: 700;">C++20 的特性设计工作已完成</span>?/p><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">按照 C++20 的发布计划,q次会议正是Zȝ C++20 的特性而D办,q入Ҏ冻l阶D?Feature freeze)意味着所有的功能Ҏ将被冻l,q且不会再加入更多的新特性?/p><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;"><span style="box-sizing: inherit; font-weight: 700;">接下来我们看看上周会议确定添加至 C++20 草案的新Ҏ:</span></p><ul style="box-sizing: inherit; margin: 0px; padding: 0px 0px 0px 2.5em; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;"><li style="box-sizing: inherit;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><span style="box-sizing: inherit; font-weight: 700;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">模块?Modules)</a></span></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><span style="box-sizing: inherit; font-weight: 700;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">协程(Coroutines)</a></span></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">static, thread_local, ?lambda capture 的结构化l定</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::polymorphic_allocator<></a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::midpoint ?nbsp;std::lerp</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::execution::unseq 执行{略</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::ssize() 作ؓ自由函数(free function)会返回符号大?signed size)</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::span 的可用性增?/a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">lookup 中新增预计算哈希值的功能(Precalculated hash values)</a></p></li></ul><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">协程的加入应该是最大的惊喜了,值得期待Q官方还表示QC++20 应该会是一个像 C++11 那样的大版本?/p><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">以下的特性已在本ơ会议或之前的会议上通过了批准,但尚未添加到 C++20 中,因ؓ目前规范仍在~写中。它们有望在2019q?月的U隆会议上被加入Q不q由于时间限Ӟ可能无法完成所有工作?/p><ul style="box-sizing: inherit; margin: 0px; padding: 0px 0px 0px 2.5em; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;"><li style="box-sizing: inherit;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Expansion statements</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">The C++20 synchronization library</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::format</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">constexpr std::vector</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Allow constexpr allocation, but disallow allocations that are not deleted at compile time</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">constexpr std::type_info::operator==</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">New conceptification of iterators</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Monadic operations for std::optional</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::source_location</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::flatmap</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::flatset</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::any_invocable</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::ostream_joiner</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Stack trace library</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::byteswap</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">constinit</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Deprecating some uses of volatile</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Implicit creation of objects for low-level object manipulation</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">using enum</a></p></li></ul><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">下面的这些特性,早已在之前的会议上通过了批准:</p><ul style="box-sizing: inherit; margin: 0px; padding: 0px 0px 0px 2.5em; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;"><li style="box-sizing: inherit;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Concepts</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Contracts</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Ranges</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">operator<=></a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;">A lot more constexpr features: consteval functions, std::is_constant_evaluated, constexpr union, constexpr try and catch, constexpr dynamic_cast and typeid</p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::span</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Synchronized output</a></p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 0px; line-height: 28px;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">std::atomic_ref</a></p></li></ul><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">按照计划的发布进度,C++20 预计于明年夏季推出?/p><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;"><img src="https://oscimg.oschina.net/oscnet/106a2dfcaeca2a55a549362ae6614f000f4.jpg" style="box-sizing: border-box; border: 0px; margin: auto; max-width: 80%; vertical-align: middle; height: auto !important; cursor: zoom-in;" alt="" /><br style="box-sizing: inherit;" />C++20 发布计划</p><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;"><span style="box-sizing: inherit; font-weight: 700;">最后,看看 C++ 主要Ҏ的开发进度?/span></p><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">自上ơ会议以来的变更Q?/p><table style="box-sizing: border-box; display: block; border-collapse: collapse; border-spacing: 1px; font-size: 14px; color: #444444; overflow: auto; width: 893px; border-width: 0px; border-style: initial; border-color: initial; line-height: 28px; word-break: keep-all; margin-top: 0px; margin-bottom: 16px; max-width: 100%; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; background-color: #ffffff;"><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit; border-top: 1px solid #cccccc;"><th style="box-sizing: inherit; background: #f8f8f8; padding: 4px 8px; border: 1px solid #dddddd;">Ҏ?/th><th style="box-sizing: inherit; background: #f8f8f8; padding: 4px 8px; border: 1px solid #dddddd;">状?/th><th style="box-sizing: inherit; background: #f8f8f8; padding: 4px 8px; border: 1px solid #dddddd;">依赖</th><th style="box-sizing: inherit; background: #f8f8f8; padding: 4px 8px; border: 1px solid #dddddd;">Current Target (Conservative Estimate)</th><th style="box-sizing: inherit; background: #f8f8f8; padding: 4px 8px; border: 1px solid #dddddd;">Current Target (Optimistic Estimate)</th></tr></tbody><tbody style="box-sizing: inherit;"><tr style="box-sizing: inherit; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Concepts</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">Concepts TS v1 published and merged into C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"> </td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td></tr><tr style="box-sizing: inherit; background-color: #f8f8f8; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Ranges</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">Ranges TS v1 published and merged into C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">Concepts</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td></tr><tr style="box-sizing: inherit; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Contracts</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">Merged into C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"> </td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td></tr><tr style="box-sizing: inherit; background-color: #f8f8f8; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Modules</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">Merged design approved for C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"> </td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td></tr><tr style="box-sizing: inherit; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Coroutines</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">Coroutines TS v1 published and merged into C++20</span></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"> </td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">C++20</span></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++20</td></tr><tr style="box-sizing: inherit; background-color: #f8f8f8; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Executors</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">Proposed v1 design approved for C++23</span></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"> </td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">C++26</span></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">C++23</span></td></tr><tr style="box-sizing: inherit; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Networking</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">Networking TS v1 published</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">Executors</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++26</td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;">C++23</td></tr><tr style="box-sizing: inherit; background-color: #f8f8f8; border-top: 1px solid #cccccc;"><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><a target="_blank" style="box-sizing: inherit; background-color: transparent; color: #4183c4; text-decoration-line: none;">Reflection</a></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">Reflection TS v1 published</span></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"> </td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">C++26</span></td><td style="box-sizing: inherit; padding: 4px 8px; border-style: solid; border-color: #dddddd;"><span style="box-sizing: inherit; font-weight: 700;">C++23</span></td></tr></tbody></table><blockquote style="box-sizing: inherit; position: relative; font-size: 15px; background-image: initial; background-color: #f6f6f6; margin: 20px 0px; padding: 16px 24px 16px 48px; border-width: initial; border-style: none; border-color: initial; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif;"><p style="box-sizing: inherit; margin: 2px 0px 14px; line-height: 28px;">名词解释</p><ul style="box-sizing: inherit; margin: 0px; padding: 0px 0px 0px 2.5em;"><li style="box-sizing: inherit;">IS = 国际标准。如 C++ ~程语言QC++11, C++14, C++17 {?/li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 2px 0px 0px; line-height: 28px;">TS = 技术规范。在该阶D中Q特性分支处于可使用状态,但尚未被所有厂商实现。如 Coroutines TS v1, Modules TS v1 {?/p></li><li style="box-sizing: inherit; margin-top: 0.25em;"><p style="box-sizing: inherit; margin: 2px 0px 0px; line-height: 28px;">CD = 委员会草案,?IS/TS 的草案,用于l标准机构进行审查和反馈("beta testing")?/p></li></ul></blockquote><p style="box-sizing: inherit; margin: 16px 0px 14px; line-height: 28px; color: #333333; font-family: "Pingfang SC", STHeiti, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", SimSun, sans-serif; font-size: 16px; background-color: #ffffff;">据透露Q工LI小l?SG15 军_创徏一?C++ 生态系l技术报告,该报告将描述新模块化 C++ 中工P构徏pȝ{)的最佛_践和最新技术?/p><img src ="//www.owiwv.icu/zdhsoft/aggbug/216345.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.owiwv.icu/zdhsoft/" target="_blank">冬瓜</a> 2019-04-09 13:25 <a href="//www.owiwv.icu/zdhsoft/archive/2019/04/09/216345.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>惛_q_360 - ڲͼ//www.owiwv.icu/zdhsoft/archive/2018/02/06/215507.html冬瓜冬瓜Tue, 06 Feb 2018 08:25:00 GMT//www.owiwv.icu/zdhsoft/archive/2018/02/06/215507.html//www.owiwv.icu/zdhsoft/comments/215507.html//www.owiwv.icu/zdhsoft/archive/2018/02/06/215507.html#Feedback0//www.owiwv.icu/zdhsoft/comments/commentRss/215507.html//www.owiwv.icu/zdhsoft/services/trackbacks/215507.html惛_q_?60云盘Q还有几个T的电׃载不下来Q说好了Q给旉让我们备份,l果速度只有100kQ还没事老断Q不能接着下蝲
惛_q_360搞手机,把酷z大神收过去,说好的,l我们升UOSQ然后就没有下文?br />惛_q_我编译一个程序,它报一个大大红叉,然后把我~译的程序删除了
惛_q_3721q个是周棍写的
惛_q_3721被卖掉后Q灭3721的也是它
惛_q_3721是Y件安装困l的ȝ
来三枝香Q给360上上


冬瓜 2018-02-06 16:25 发表评论
]]>
在git上面Q徏了一个开源库 - ڲͼ//www.owiwv.icu/zdhsoft/archive/2018/02/03/215501.html冬瓜冬瓜Sat, 03 Feb 2018 10:25:00 GMT//www.owiwv.icu/zdhsoft/archive/2018/02/03/215501.html//www.owiwv.icu/zdhsoft/comments/215501.html//www.owiwv.icu/zdhsoft/archive/2018/02/03/215501.html#Feedback0//www.owiwv.icu/zdhsoft/comments/commentRss/215501.html//www.owiwv.icu/zdhsoft/services/trackbacks/215501.html后面会慢慢加东西Q哈

https://github.com/zdhsoft



冬瓜 2018-02-03 18:25 发表评论
]]>
Ztypescript创徏node工程 - ڲͼ//www.owiwv.icu/zdhsoft/archive/2017/12/23/215440.html冬瓜冬瓜Sat, 23 Dec 2017 04:15:00 GMT//www.owiwv.icu/zdhsoft/archive/2017/12/23/215440.html//www.owiwv.icu/zdhsoft/comments/215440.html//www.owiwv.icu/zdhsoft/archive/2017/12/23/215440.html#Feedback0//www.owiwv.icu/zdhsoft/comments/commentRss/215440.html//www.owiwv.icu/zdhsoft/services/trackbacks/215440.html

1һ:typescript的开发工?/h1>
  1. 现在typescript应用来多了,它最大的优势Q就是可L强。增加了很多语法查,减少了代码误错率?/span>
  2. 目前Q我接解触的typescript工具主要?/span>vscode, visual stduio 2017?/span>webstorm

vscode

它的优点非常H出。首先是免费开源。每月都会有更新Q功能越来越强大。用它来开发typescript工程Q完全够用。像layabox和ergetq两个游戏引擎的ide,是Zvscode定制的。而且Q它本n是Znode开发,所以算是node的自扩展工具。它是typescript首选工?/p>

visual studio 2017

在我心中Qvisual studio是宇宙无敌第一工具Q能开发很多应用,手机跨^台应用不在话下,q有云应用。但是它太大了,ȝ英文安装包达30GQ如果全部安装的话,我的120G的SSD硬盘,完全不够用。试着用它开发typescript或jsQ比vscode强大不少。但是,它太大了Q跑不v…

webstorm

q是一个基于instllij的开发工P功能也很全面Q对于typescriptq有专门的支持。它是收费的Q不便宜。体U也比vscode大很多。显C效果,没有vscode高大?/p>

最后,各方考虑Q还是推荐vscode

正题

创徏node工程

  1. //比如在d:\tmp创徏一个目?ts1
  2. mkdir d:\tmp\ts1
  3. cd d:\tmp\ts1
  4. npm init //按提C完成后Q这完成node工程创徏

增加typescript支持

  1. //如果没有安装typescriptQ则用命?npm install typescript -g 安装
  2. tsc -v //可以看到当前的版?/span>
  3. //在d:\tmp\ts1目录下面Q输?/span>
  4. tsc --init
  5. //完成后,׃生成一个tsconfig.json的文?/span>
  6. //最?/span>
  7. code . //用vscode打开当前目录
  8. //在vscodeQ新Z个index.ts,
  9. //增加下面一?/span>
  10. console.log('hello typescripit');
  11. //在命令行下,输入tsc后,׃得到一个index.jsQ?/span>
  12. //然后输入下面命o
  13. node .
  14. //可以运行了
  15. //或者在vscode下,按下ctrl_+ shift + b,会弹ZQ务菜单项Q选择Tsc~译Q?/span>
  16. //然后再配|vscodeq行Q就可以按F5调试q运行了?/span>

一些问题解?/h1>

增加代码提示

好像从vscode 1.8后,׃使用了typing了,改用@types了。在~写typescript的时候,如果要用到node自带的fsQ或http{模块,用import后会有错误提C,那是因ؓ没有安装@types

  1. //在命令提C符下:
  2. npm install @types/node@6.x //我这里用的是node 6.x
  3. //完成后,可以愉快的使用node的模块的代码提示?/span>

划分目录

默认的情况下Qts和js都是在一LQ生成发布版本的时候,׃有些׃。所以,所有生成的代码Q放到别的目录?nbsp;
打开tsconfig.js 
扑ֈcompilerOptions中的outDirQ增?/build,q样׃代码生成到build里面了,然后修改package.jsonQ修改main为build/index.js可以运行了?nbsp;
默认的情况下Q?nbsp;
“allowJs”: true, /* Allow javascript files to be compiled. */ 
表示会把代码js文gQ一L译到build?nbsp;
q样代码Q就会好多了Q)

去除同名js

在没有划分目录的情况下,Zts生成的js和ts是在同一个目录的Q结果在vscode文g列表都会昄Q这个vscode讄一下就可以了?nbsp;
Vscode->File->首选项->讄 
增?“*/.js”: { “when”: “$(basename).ts” },可以了Q下面是具体配置的例?/p>

  1. "files.exclude": {
  2. "**/.git": true,
  3. "**/.svn": true,
  4. "**/.hg": true,
  5. "**/CVS": true,
  6. "**/node_modules":true,
  7. "**/typings":true,
  8. "**/logs":true,
  9. "**/*.js": { "when": "$(basename).ts" },
  10. "**/**.js": { "when": "$(basename).tsx" },
  11. "**/.DS_Store": true
  12. },


冬瓜 2017-12-23 12:15 发表评论
]]>CSDNq是要搞???? - ڲͼ//www.owiwv.icu/zdhsoft/archive/2017/11/15/215348.html冬瓜冬瓜Wed, 15 Nov 2017 06:15:00 GMT//www.owiwv.icu/zdhsoft/archive/2017/11/15/215348.html//www.owiwv.icu/zdhsoft/comments/215348.html//www.owiwv.icu/zdhsoft/archive/2017/11/15/215348.html#Feedback0//www.owiwv.icu/zdhsoft/comments/commentRss/215348.html//www.owiwv.icu/zdhsoft/services/trackbacks/215348.html有时候会上传一些资源共享,以便他h之需Q以前都?c币的。有些是0c币的Q但是最q好像有变化了?/p>

首先Q是没有0的选择了,最?c币v步?/p>

W二Q随着被下载的ơ数增加Q需要的c币从几何基数增长

每个c币要1RMB的样子,如我下面的git文gQ被下蝲两次后,׃2c币变?2c币,合计12RMB?/p>

//download.csdn.net/download/zdhsoft/10042921


csdnq是要干什么呢Q抢钱?



冬瓜 2017-11-15 14:15 发表评论
]]>
Centos 6,7安装用yum命o mysql 5.7 - ڲͼ//www.owiwv.icu/zdhsoft/archive/2017/08/29/215205.html冬瓜冬瓜Tue, 29 Aug 2017 07:11:00 GMT//www.owiwv.icu/zdhsoft/archive/2017/08/29/215205.html//www.owiwv.icu/zdhsoft/comments/215205.html//www.owiwv.icu/zdhsoft/archive/2017/08/29/215205.html#Feedback0//www.owiwv.icu/zdhsoft/comments/commentRss/215205.html//www.owiwv.icu/zdhsoft/services/trackbacks/215205.html1.Yum包的官方地址Q?/span>

https://dev.mysql.com/downloads/repo/yum/


选择对应pȝ?/span>rpm包下?/span> 下蝲的时候要d的时候,h册一个?/span>

 然后Q把对应的rpm包下载下?/p>

 

2:然后把rpm包,传到LinuxpȝQcentos 6,7是有区分的,请对pȝ做相应的操作?/span>

Centos7 :mysql57-community-release-el7-11.noarch.rpm

Centos6:mysql57-community-release-el6-11.noarch.rpm

 

3:解压安装rpm

输入suQ进?/span>root模式

输入Q?/span>rpm -Uvh mysql57-community-release-el7-11.noarch.rpm安装对应?/span>yum?/span>

输入Q?/span>yum repolist all | grep MySQL

 

 

4.安装

安装mysqlQyum install mysql-community-server

5.启动

启动mysqlQservice mysqld start

6.讄密码

注意一下:数据?/a>初始化,必须要重|密码才能用,也就是?/span>alter user命o?/span>root密码重置?/span>

 

输入Qgrep'temporarypassword' /var/log/mysqld.log查看密码

然后输入Q?/span>mysql-uroot -pq接本地?/span>mysqlQ提C入的密码Q就是那个上?/span>grep命o昄?/span>

 

q入mysql后,用下面的命o修改密码Q?/span>

mysql>ALTER USER'root'@'localhost'IDENTIFIED BY'MyNewPass4!';

 

 

 

安装完成后,安装的数据在:/var/lib/mysql

 

1、关闭firewallQ?/p>

systemctl stop firewalld.service #停止firewall

systemctl disable firewalld.service #止firewall开机启?/p>

firewall-cmd--state #查看默认防火墙状态(关闭后显CnotrunningQ开启后昄runningQ?/p>

 

 

//配置q接方式和权限,注意Q要执行flush privileges;否则会连接不?/span>

grantall on *.* to rock@'%' identified by 'NewPassword1' with grant option;

flush privileges;



冬瓜 2017-08-29 15:11 发表评论
]]>
windows 下vscode快捷键大?/title><link>//www.owiwv.icu/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>//www.owiwv.icu/zdhsoft/archive/2017/08/25/215192.html</guid><wfw:comment>//www.owiwv.icu/zdhsoft/comments/215192.html</wfw:comment><comments>//www.owiwv.icu/zdhsoft/archive/2017/08/25/215192.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.owiwv.icu/zdhsoft/comments/commentRss/215192.html</wfw:commentRss><trackback:ping>//www.owiwv.icu/zdhsoft/services/trackbacks/215192.html</trackback:ping><description><![CDATA[     摘要: 跟据vscode官网pdfQ再~辑Visual Studio Code Keyboard shortcuts for windowsGeneral快捷键说明Ctrl+Shift+P, F1Show Command PaletteCtrl+PQuick OpenCtrl+Shift+NNew window/instanceCtrl+Shift+WClose window/instanceBasic ...  <a href='//www.owiwv.icu/zdhsoft/archive/2017/08/25/215192.html'>阅读全文</a><img src ="//www.owiwv.icu/zdhsoft/aggbug/215192.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.owiwv.icu/zdhsoft/" target="_blank">冬瓜</a> 2017-08-25 10:31 <a href="//www.owiwv.icu/zdhsoft/archive/2017/08/25/215192.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>protobuf 易分析工具及源码 - ڲͼ//www.owiwv.icu/zdhsoft/archive/2017/08/19/215179.html冬瓜冬瓜Sat, 19 Aug 2017 13:51:00 GMT//www.owiwv.icu/zdhsoft/archive/2017/08/19/215179.html//www.owiwv.icu/zdhsoft/comments/215179.html//www.owiwv.icu/zdhsoft/archive/2017/08/19/215179.html#Feedback0//www.owiwv.icu/zdhsoft/comments/commentRss/215179.html//www.owiwv.icu/zdhsoft/services/trackbacks/215179.html说明

因ؓ工作需要分析protobuf的数据,google了一下,我个人没有找到合适的Q就参考google protobuf文Q写了一个分析工兗这个项目用的是C++Builder XE10.2Q?win64实现?nbsp;
因ؓ是时定的代码,写的很随意了,很少注释?/p>

~译工具

C++ Builder XE 10.2

说明

  • ׃C++Builder自带的C++~译不支持C++11Q只好选择64位版本?/li>
  • 包中已经带有已经~译好的 prototools.x64.exe Q?可以?4位系l下直接q行?/li>
  • 使用的时候,对应的树节点Q请点右键,做相应的选择?/li>
  • 注意Q要分析数据是原始生成的protobuf数据Q保存到文g?/li>

代码地址

https://code.csdn.net/zdhsoft/protobuf_tools/tree/master



冬瓜 2017-08-19 21:51 发表评论
]]>
vscode使用Better Align插g以及快捷键配|实?/title><link>//www.owiwv.icu/zdhsoft/archive/2017/08/14/215159.html</link><dc:creator>冬瓜</dc:creator><author>冬瓜</author><pubDate>Mon, 14 Aug 2017 04:36:00 GMT</pubDate><guid>//www.owiwv.icu/zdhsoft/archive/2017/08/14/215159.html</guid><wfw:comment>//www.owiwv.icu/zdhsoft/comments/215159.html</wfw:comment><comments>//www.owiwv.icu/zdhsoft/archive/2017/08/14/215159.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.owiwv.icu/zdhsoft/comments/commentRss/215159.html</wfw:commentRss><trackback:ping>//www.owiwv.icu/zdhsoft/services/trackbacks/215159.html</trackback:ping><description><![CDATA[<h1 class="oese">q?/h1><p style="box-sizing: border-box; margin: 0px 0px 1.1em; color: #3f3f3f; font-family: "microsoft yahei"; font-size: 15px; background-color: #ffffff;">在开发过E中Q如果代码很整齐的话Q那么这个代码就会看h比较舒服。就像看C个整z的屋子一栗?nbsp;<br style="box-sizing: border-box;" />其中Q?Q:{对齐,则是一个重要的整洁处理?/p><h2 class="oese"><a name="t1" target="_blank" style="color: rgb(79, 161, 219); box-sizing: border-box; width: 20px; height: 20px; text-indent: 20px; background-repeat: no-repeat; background-image: url("/CuteSoft_Client/CuteEditor/Load.ashx?type=image&file=anchor.gif");"></a>Better Align</h2><p style="box-sizing: border-box; margin: 0px 0px 1.1em; color: #3f3f3f; font-family: "microsoft yahei"; font-size: 15px; background-color: #ffffff;">q个是vscode的对齐插Ӟ启动vscode,q入插g理Q没有安装的话,搜烦一下,很快有了。然后安装即可。vscode的插件管理真是做的很不错Q易用?/p><h2 class="oese"><a name="t2" target="_blank" style="color: rgb(79, 161, 219); box-sizing: border-box; width: 20px; height: 20px; text-indent: 20px; background-repeat: no-repeat; background-image: url("/CuteSoft_Client/CuteEditor/Load.ashx?type=image&file=anchor.gif");"></a>使用</h2><p style="box-sizing: border-box; margin: 0px 0px 1.1em; color: #3f3f3f; font-family: "microsoft yahei"; font-size: 15px; background-color: #ffffff;">安装完成后,可以用了 <br style="box-sizing: border-box;" />光标移到要寚w的代码块Q然后安一下ctrl+shift+p,然后输入命oQ就立马寚w了?nbsp;<br style="box-sizing: border-box;" />如下图演C?nbsp;<br style="box-sizing: border-box;" />Comma-first sytle <br style="box-sizing: border-box;" /><img src="//img.blog.csdn.net/20170814121544618?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvemRoc29mdA==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="Comma-first sytle" title="" style="border: none; box-sizing: border-box; max-width: 100%;" /> <br style="box-sizing: border-box;" />Trailing comment <br style="box-sizing: border-box;" /><img src="//img.blog.csdn.net/20170814121608057?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvemRoc29mdA==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="Trailing comment" title="" style="border: none; box-sizing: border-box; max-width: 100%;" /> <br style="box-sizing: border-box;" />Align within selection <br style="box-sizing: border-box;" /><img src="//img.blog.csdn.net/20170814121630302?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvemRoc29mdA==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="Align within selection" title="" style="border: none; box-sizing: border-box; max-width: 100%;" /></p><h2 class="oese"><a name="t3" target="_blank" style="color: rgb(79, 161, 219); box-sizing: border-box; width: 20px; height: 20px; text-indent: 20px; background-repeat: no-repeat; background-image: url("/CuteSoft_Client/CuteEditor/Load.ashx?type=image&file=anchor.gif");"></a>快捷键设|?/h2><p style="box-sizing: border-box; margin: 0px 0px 1.1em; color: #3f3f3f; font-family: "microsoft yahei"; font-size: 15px; background-color: #ffffff;">如果老是输入命oQ确实很ȝQ可以配|快捷键 <br style="box-sizing: border-box;" />我这里配|的是ctrl+alt+= <br style="box-sizing: border-box;" />如下图:文g->首选项->键盘快捷方式Q如下图 <br style="box-sizing: border-box;" /><img src="//img.blog.csdn.net/20170814122252409?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvemRoc29mdA==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="q里写图片描q? title="" style="border: none; box-sizing: border-box; max-width: 100%;" /> <br style="box-sizing: border-box;" />q入之后Q在键盘快捷方式~辑中,点击keybindings.jsonQ?nbsp;<br style="box-sizing: border-box;" /><img src="//img.blog.csdn.net/20170814122453777?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvemRoc29mdA==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="q里写图片描q? title="" style="border: none; box-sizing: border-box; max-width: 100%;" /><br style="box-sizing: border-box;" />q入json讄?nbsp;<br style="box-sizing: border-box;" /><img src="//img.blog.csdn.net/20170814123012404?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvemRoc29mdA==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="q里写图片描q? title="" style="border: none; box-sizing: border-box; max-width: 100%;" /><br style="box-sizing: border-box;" />然后我输入ctrl+alt+= <br style="box-sizing: border-box;" /><img src="//img.blog.csdn.net/20170814123039918?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvemRoc29mdA==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="q里写图片描q? title="" style="border: none; box-sizing: border-box; max-width: 100%;" /><br style="box-sizing: border-box;" />然后输入操作内容</p><pre name="code" style="white-space: nowrap; word-wrap: break-word; box-sizing: border-box; position: relative; overflow-y: hidden; overflow-x: auto; margin-top: 0px; margin-bottom: 1.1em; font-family: "Source Code Pro", monospace; padding: 5px 5px 5px 60px; line-height: 1.45; word-break: break-all; color: #333333; background-color: rgba(128, 128, 128, 0.05); border: 0px solid #888888; border-radius: 0px;"><code hljs="" has-numbering"="" style="display: block; padding: 0px; background: transparent; color: inherit; box-sizing: border-box; font-family: "Source Code Pro", monospace; font-size: inherit; white-space: pre; border-radius: 0px; word-wrap: normal;"> {<br /> <span style="color: #008800; box-sizing: border-box;">"key"</span>: <span style="color: #008800; box-sizing: border-box;">"ctrl+alt+oem_plus"</span>,<br /> <span style="color: #008800; box-sizing: border-box;">"command"</span>: <span style="color: #008800; box-sizing: border-box;">"wwm.aligncode"</span>,<br /> <span style="color: #008800; box-sizing: border-box;">"when"</span>: <span style="color: #008800; box-sizing: border-box;">"editorTextFocus && !editorReadonly"<br /></span> }</code><ul style="box-sizing: border-box; position: absolute; width: 50px; background-color: #eeeeee; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right: 1px solid #dddddd; list-style: none; text-align: right; opacity: 0;"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li><li style="box-sizing: border-box; padding: 0px 5px;">3</li><li style="box-sizing: border-box; padding: 0px 5px;">4</li><li style="box-sizing: border-box; padding: 0px 5px;">5</li></ul><ul style="box-sizing: border-box; position: absolute; width: 50px; background-color: #eeeeee; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right: 1px solid #dddddd; list-style: none;"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li><li style="box-sizing: border-box; padding: 0px 5px;">3</li><li style="box-sizing: border-box; padding: 0px 5px;">4</li><li style="box-sizing: border-box; padding: 0px 5px;">5</li></ul></pre><p style="box-sizing: border-box; margin: 0px 0px 1.1em; color: #3f3f3f; font-family: "microsoft yahei"; font-size: 15px; background-color: #ffffff;"><img src="//img.blog.csdn.net/20170814123121951?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvemRoc29mdA==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="q里写图片描q? title="" style="border: none; box-sizing: border-box; max-width: 100%;" /> <br style="box-sizing: border-box;" />q样Q就可以使用快捷键操作了</p><img src ="//www.owiwv.icu/zdhsoft/aggbug/215159.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.owiwv.icu/zdhsoft/" target="_blank">冬瓜</a> 2017-08-14 12:36 <a href="//www.owiwv.icu/zdhsoft/archive/2017/08/14/215159.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转脓]Visual Studio 2017 15.3 预览版发布,接近最l版 - ڲͼ//www.owiwv.icu/zdhsoft/archive/2017/08/11/215154.html冬瓜冬瓜Fri, 11 Aug 2017 12:00:00 GMT//www.owiwv.icu/zdhsoft/archive/2017/08/11/215154.html//www.owiwv.icu/zdhsoft/comments/215154.html//www.owiwv.icu/zdhsoft/archive/2017/08/11/215154.html#Feedback0//www.owiwv.icu/zdhsoft/comments/commentRss/215154.html//www.owiwv.icu/zdhsoft/services/trackbacks/215154.html原文地址Q?span style="font-family: verdana, "courier new";">//www.infoq.com/cn/news/2017/08/vs2017-153

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

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

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

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

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

修复的问题有Q?/p>

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

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

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



ڲͼ 2017-08-11 20:00 发表评论
]]>