February 18, 2023 Issues » [Issue 23726] New: Array append in CTFE no longer works without _d_arrayappendT | |||
|---|---|---|---|
| |||
...edu
Here is my test.d file:
```
alias foo = () {
string x = "1";
x ~= "2";
return... | |||
February 17, 2023 Issues » [Issue 17541] Function attribute deduction depends on compile invocation | |||
|---|---|---|---|
| |||
...d
module test2;
struct MyStruct{
alias Ptr = Unique!MyStruct;
alias RcPtr = SafeRefCounted!MyStruct;
~this(){}
}
struct... | |||
February 17, 2023 Issues » [Issue 23723] Attributes incorrectly inferred given the same source but compiled individually | |||
|---|---|---|---|
| |||
...MyStruct.Ptr a;
}
// test2.d
struct MyStruct
{
alias Ptr = Unique!(MyStruct);
~this(){}
}
struct Unique(T... | |||
February 17, 2023 Issues » [Issue 23723] New: Attributes incorrectly inferred given the same source but compiled individually | |||
|---|---|---|---|
| |||
...import std.typecons : SafeRefCounted, Unique;
alias Ptr = Unique!(MyStruct);
alias RcPtr = SafeRefCounted!(MyStruct);
~this(){}
}
```
this... | |||
February 16, 2023 Issues » [Issue 23722] New: Lambdas are mangled incorrectly when using multiple compilation units, resulting in incorrect code | |||
|---|---|---|---|
| |||
...A {
import core.stdc.stdio;
alias x = () {
printf("x\n");
};
alias y = () {
printf("y\n... | |||
February 13, 2023 Learn » Re: Simplest way to convert an array into a set | |||
|---|---|---|---|
| |||
...deduplicate(R)(R input)
if (isInputRange!R)
{
alias Unit = void[0];
enum unit = Unit.init... | |||
February 12, 2023 Issues » [Issue 23704] New: need `this` for a function accessed through a member alias tuple | |||
|---|---|---|---|
| |||
...com
alias aliases(a...) = a;
struct V
{
int _0() { return 0; }
int _1;
alias t... | |||
February 12, 2023 Genel » MyString: Dizge Sarması | |||
|---|---|---|---|
| |||
...merhaba;
assert(str == merhaba.data); // -test-ok-
}
alias MS = MyString;
class MyString
{
string data;
this... | |||
February 12, 2023 Issues » [Issue 23687] New: IFTI fails forwarding an alias to struct field | |||
|---|---|---|---|
| |||
...ID: 23687
Summary: IFTI fails forwarding an alias to struct field
Product: D
Version: D2... | |||
February 11, 2023 Issues » [Issue 23686] New: template instance reused with default alas arg | |||
|---|---|---|---|
| |||
...com
```
void FNfoo() {}
void load(string name, alias T = mixin("FN" ~ name))() {}
void main() {
load... | |||
Copyright © 1999-2021 by the D Language Foundation