December 25, 2023 General » dmd command line scripting experiments and observations | |||
|---|---|---|---|
| |||
...T args)` with `T = (double, DT)` whose parameters have the following constraints: `~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~` ` T.length >= 2... | |||
December 21, 2023 General » Re: D Primary Type Syntax is Essentially Implemented! | |||
|---|---|---|---|
| |||
...invalid types. Should be:
```
BasicType:
( ref Type delegate Parameters MemberFunctionAttributes? )
( ref Type function Parameters FunctionAttributes? )
``` | |||
December 16, 2023 Issues » [Issue 6980] Disallow shadowing template parameters | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=6980 Basile-z <b2.temp@gmx.com... | |||
December 13, 2023 Issues » [Issue 6980] Disallow shadowing template parameters | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=6980 Basile-z <b2.temp@gmx.com... | |||
December 13, 2023 Issues » [Issue 6980] Disallow shadowing template parameters | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=6980 Basile-z <b2.temp@gmx.com... | |||
December 12, 2023 Issues » [Issue 6980] Disallow shadowing template parameters | |||
|---|---|---|---|
| |||
...referenced. This expectation is broken when template parameters are shadowed:
```d
struct S(T)
{
alias... | |||
December 12, 2023 Learn » Re: opApply seems like it can infer delegate types AND parameters!? | |||
|---|---|---|---|
| |||
Truly bizarre. I can't think of any explanation other than a compiler bug. Probably... | |||
December 11, 2023 Learn » Re: opApply seems like it can infer delegate types AND parameters!? | |||
|---|---|---|---|
| |||
[Correction] This should have been: 1. Instead of implementing a function `opApply(scope int delegate... | |||
December 11, 2023 Learn » opApply seems like it can infer delegate types AND parameters!? | |||
|---|---|---|---|
| |||
...array.length; ++index)
{
import std.traits : Parameters;
static if (Parameters!DG.length == 1)
{
if (auto... | |||
December 04, 2023 General » Re: Constructor Parameter vs Member Variable | |||
|---|---|---|---|
| |||
...annoyed if they had to name constructor parameters differently from member variables when the whole... | |||
Copyright © 1999-2021 by the D Language Foundation