Search

February 18, 2023
Issues »
...edu

Here is my test.d file:

```
alias foo = () {
    string x = "1";
    x ~= "2";
    return...
February 17, 2023
Issues »
...d
module test2;

struct MyStruct{
    alias Ptr = Unique!MyStruct;
    alias RcPtr = SafeRefCounted!MyStruct;
    ~this(){}
}

struct...
February 17, 2023
Issues »
...MyStruct.Ptr a;
}

// test2.d

struct MyStruct
{
    alias Ptr = Unique!(MyStruct);
    ~this(){}
}

struct Unique(T...
February 17, 2023
Issues »
...import std.typecons : SafeRefCounted, Unique;
        alias Ptr = Unique!(MyStruct);
        alias RcPtr = SafeRefCounted!(MyStruct);
        ~this(){}
}
```

this...
February 16, 2023
Issues »
...A {
    import core.stdc.stdio;
    alias x = () {
        printf("x\n");
    };
    alias y = () {
        printf("y\n...
February 13, 2023
Learn »
...deduplicate(R)(R input)
	if (isInputRange!R)
{
	alias Unit = void[0];
	enum unit = Unit.init...
February 12, 2023
Issues »
...com

alias aliases(a...) = a;

struct V
{
    int _0() { return 0; }
    int _1;

    alias t...
February 12, 2023
Genel »
...merhaba;
  assert(str == merhaba.data); // -test-ok-
}

alias MS = MyString;
class MyString
{
  string data;
  this...
February 12, 2023
Issues »
...ID: 23687
           Summary: IFTI fails forwarding an alias to struct field
           Product: D
           Version: D2...
February 11, 2023
Issues »
...com

```
void FNfoo() {}
void load(string name, alias T = mixin("FN" ~ name))() {}

void main() {
        load...
135 136 137 138 139 140 141 142 143 144 145
Next ›   Last »