Search

November 02
Announce »
...all, a bit like this example:
```d
alias LayoutStyle = SumType!(
	FontFace, Padding, TextDirection,
	Alignment, Justify...
October 29
Issues »
...VERSION >= NTDDI_WIN10_19H1)
        {
            FileCaseSensitiveInfo,
            FileNormalizedNameInfo,
        }
        MaximumFileInfoByHandleClass
    }
    alias PFILE_INFO_BY_HANDLE_CLASS = FILE_INFO...
October 28
Learn »
...buffer;
    size_t head, tail;
    alias acq = MemoryOrder.acq;
    alias rel = MemoryOrder.rel;
  }

  size_t...
October 27
General »
...Phoboes-style for ya
```d
/**
Weakens an alias, so it must be compatible with T...
October 24
Learn »
...the missing piece. I was sure that alias is just a compile-time string replacement...
October 24
Genel »
...animals = [dog, cow, fox, cat];

  alias myType = Zoo!(Animal.fox);
  alias fun(S) = e => e...
October 24
Learn »
...animals = [dog, cow, fox, cat];

  alias myType = Zoo!(Animal.fox);
  alias fun(S) = e => e...
October 23
Learn »
...symbol.

In this case, instead of an `alias`, you can use a local function:

```d...
October 23
Learn »
...book http://ddili.org/ders/d.en/alias.html and it states that, among other...
October 23
Learn »
Thanks for the clarification. I understand that aliasing a delegate would be problematic because it...
1 2 3 4 5 6 7 8 9
Next ›   Last »