DMD 2.078.0 已经发布,做了大量更改

栏目: 软件资讯 · 发布时间: 6年前

内容简介:DMD 2.078.0 已经发布,D 是具有类 C 语法和静态类型的系统编程语言。 它将效率,控制和建模能力与安全性和程序员生产力相结合。 更新内容: 编译器更改: opDispatch resolution in with statements Generate...

DMD 2.078.0 已经发布,D 是具有类 C 语法和静态类型的系统编程语言。 它将效率,控制和建模能力与安全性和 程序员 生产力相结合。

更新内容:

编译器更改:

  1. opDispatch resolution in with statements

  2. Generate header files using do instead of body as per DIP1003

  3. pragma(crt_constructor) and pragma(crt_destructor) were added

  4. Subtraction of pointers that point to different types has been deprecated.

  5. Variadic template arguments no longer require alias workaround

  6. fix Issue 16997 - Integral promotion rules not being followed for unary + - ~ operators

  7. Optional ModuleInfo

  8. Added RAII and try-finally support for -betterC mode.

  9. Windows: dmd can now detect Visual Studio installation paths

运行时更改:

  1. core.runtime now allows more fine-grained control over unittests.

  2. The runtime learned a few new options to customize how coverage reports are created.

库更改:

  1. mean Was Added To std.algorithm

  2. findSkip can now skip elements using just a predicate function

  3. std.array.byPair now returns a NamedTuple

  4. std.container.dlist supports linearRemoveElement

  5. std.container.slist supports linearRemoveElement

  6. Deprecate save for std.range.package.Transposed

  7. std.typecons.Ternary.opBinary supports bool bitwise operands

完整内容请查看发行说明

下载地址:http://downloads.dlang.org/releases/2.x/2.078.0


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

白帽子讲Web安全(纪念版)

白帽子讲Web安全(纪念版)

吴翰清 / 电子工业出版社 / 2014-6 / 69.00元

互联网时代的数据安全与个人隐私受到前所未有的挑战,各种新奇的攻击技术层出不穷。如何才能更好地保护我们的数据?《白帽子讲Web 安全(纪念版)》将带你走进Web 安全的世界,让你了解Web 安全的方方面面。黑客不再神秘,攻击技术原来如此,小网站也能找到适合自己的安全道路。大公司如何做安全,为什么要选择这样的方案呢?在《白帽子讲Web 安全(纪念版)》中都能找到答案。详细的剖析,让你不仅能“知其然”,......一起来看看 《白帽子讲Web安全(纪念版)》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具