dlang.org icon indicating copy to clipboard operation
dlang.org copied to clipboard

Pages for the dlang.org website, home of the D Programming Language

Results 100 dlang.org issues
Sort by recently updated
recently updated
newest added

calling C++ constructors in D are now possible and so must be updated in documentation @dkorpel

Addresses https://issues.dlang.org/show_bug.cgi?id=24412 @ibuclaw @kinke I need your OK on this, because DMD doesn't support these.

In particular, cf. [Issue 24633](https://issues.dlang.org/show_bug.cgi?id=24633).

Enhancement
Bug Fix

As [DIP 1046](https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1046.md) *(`ref` For Variable Declarations)* has been accepted, probably, `ref` (and `auto ref`) should be allowed for the condition in `if`, `while`, and `switch` statements: ```d int** pptr...

Using `IfCondition` in the grammar is misleading. It can be used for `if`, but also for `while` and `switch`. On the other hand, `Condition`, which refers to conditional compilation constructs,...

Because `GRAMMAR_INFORMATIVE` starts with `GRAMMAR`, there are stray ones included in [the grammar spec](https://dlang.org/spec/grammar.html).

Linkage is not a control-flow statement (such as `if` or `while`) and as with `assert`, `pragma` and many others, no space should be used between the keyword and the opening...

This PR documents ImportC's `#pragma importc_ignore`, implemented by https://github.com/dlang/dmd/pull/16464. I'm marking this as a draft until https://github.com/dlang/dmd/pull/16464 is approved or rejected.

Waiting for DMD PR