April 28 Issues » [Issue 24527] New: opAssign has no effect during CTFE when an array is wrapped in a range | |||
|---|---|---|---|
| |||
...auto foo(R)(R r)
{
return Foo!R...range;
}
---
then the assertion inside of opAssign actually... | |||
April 26 DIP Ideas » Re: Extending D's support for object-oriented design with private(this) | |||
|---|---|---|---|
| |||
...moment, a class definition inside a module that...as useful as: int foo(T* p); "Is... | |||
April 03 DIP Ideas » Re: Allow Conditional Compilation Inside Enum Declaration | |||
|---|---|---|---|
| |||
...foo {
case x;
case y;
case z;
// constructors?
this(int n) { this._value = cast(foo... | |||
April 02 DIP Ideas » Re: Allow Conditional Compilation Inside Enum Declaration | |||
|---|---|---|---|
| |||
...also couldn't do something like
auto foo(A a) {...}
and pass it A.x... | |||
March 30 DIP Ideas » Re: Allow Conditional Compilation Inside Enum Declaration | |||
|---|---|---|---|
| |||
...lists?
Could you do this for functions `foo(static if(bar){1},2)`?
is changing... | |||
March 23 Learn » Re: Mutability issue | |||
|---|---|---|---|
| |||
...alias U = Unconst!T; inside the function, but...you pass a const Foo - or a const... | |||
March 13 General » Re: Memory safe in D | |||
|---|---|---|---|
| |||
...comment after line `void foo(int i) {`):
```d...be not nullable type inside branch. Certainly variable... | |||
March 07 General » Re: A proposal: Sumtypes | |||
|---|---|---|---|
| |||
...3.14f;
}
foo = getPi();
barFloat(foo); // Illegal, use:
if (foo is float) { // inside this scope... | |||
February 29 DIP Ideas » Standardize base types for metaprogramming | |||
|---|---|---|---|
| |||
Inside 5 layers of metaprogramming a mild inconsistency...function header such as `foo(T)(T a... | |||
January 21, 2024 Learn » Re: Delegates and values captured inside loops | |||
|---|---|---|---|
| |||
...this would look as: ```d let names =["foo";"bar";"baz"] in let funmap = List.map... | |||
Copyright © 1999-2021 by the D Language Foundation