November 25 Learn » only parameters or stack-based variables can be `inout` | |||
|---|---|---|---|
| |||
...to, am I right?
```d
import std;
enum E
{
One,
Two
}
// OK:
inout(int) fun... | |||
November 25 Issues » [Issue 24845] Compiler error when trying to assign to an AA value of an enum instance | |||
|---|---|---|---|
| |||
...assign to an AA value of an enum instance https://github.com/dlang/dmd/pull... | |||
November 25 Issues » [Issue 24878] New: Forward referencing issue | |||
|---|---|---|---|
| |||
...T)
{
// T.sizeof/alignof causes circular reference!
enum AllocAlignment = T.sizeof;
T* ptr;
}
struct Test... | |||
November 24 Issues » [Issue 24875] std.traits.isAggregateType does not consider enums of aggregate types to be aggregate types | |||
|---|---|---|---|
| |||
...type is going to care that an enum's base type is an aggregate type... | |||
November 23 Issues » [Issue 24875] std.traits.isAggregateType does not consider enums of aggregate types to be aggregate types | |||
|---|---|---|---|
| |||
...type is going to care that an enum's base type is an aggregate type... | |||
November 23 Issues » [Issue 24875] New: std.traits.isAggregateType does not consider enums of aggregate types to be aggregate types | |||
|---|---|---|---|
| |||
...assertion fails:
---
import std.traits;
struct S {}
enum ES : S { a = S.init }
static assert... | |||
November 22 Learn » Re: Using a tuple as a function parameter | |||
|---|---|---|---|
| |||
...known at compile time (integer literals or enum members). You pass one but this becomes... | |||
November 21 Genel » Re: @nogc | |||
|---|---|---|---|
| |||
...aşağıdaki her şey noGC
void main() //@nogc
{
enum { ROWS = 5,
COLUMNS = 5,
LENGTH = ROWS * COLUMNS... | |||
November 21 Genel » Re: @nogc | |||
|---|---|---|---|
| |||
...gerisi sanat. Misal şöyle verilerimiz olsun:
```d
enum TerrainType
{
Plains, Forest, Mountain, Water, Desert
}
struct... | |||
November 21 General » Re: Proposal: Enhancing unittest with Inline Module-Level Statements | |||
|---|---|---|---|
| |||
...template assert_eq(string msg = "error", R)
{
enum pred = "a != b";
bool assert_eq(in... | |||
Copyright © 1999-2021 by the D Language Foundation