红联Linux门户
Linux帮助

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

发布时间:2018-01-05 09:14:45来源:红联作者:baihuo
DMD 2.078.0 已经发布,D 是具有类 C 语法和静态类型的系统编程语言。 它将效率,控制和建模能力与安全性和程序员生产力相结合。

更新内容:

编译器更改:

opDispatch resolution in with statements

Generate header files using do instead of body as per DIP1003

pragma(crt_constructor) and pragma(crt_destructor) were added

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

Variadic template arguments no longer require alias workaround

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

Optional ModuleInfo

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

Windows: dmd can now detect Visual Studio installation paths

运行时更改:

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

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

库更改:

mean Was Added To std.algorithm

findSkip can now skip elements using just a predicate function

std.array.byPair now returns a NamedTuple

std.container.dlist supports linearRemoveElement

std.container.slist supports linearRemoveElement

Deprecate save for std.range.package.Transposed

std.typecons.Ternary.opBinary supports bool bitwise operands

软件详情:https://dlang.org/changelog/2.078.0.html

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

来自:开源中国社区
文章评论

共有 0 条评论