July 07, 2022 Issues » [Issue 20258] alias this produces an infinite range when used with ranges | |||
|---|---|---|---|
| |||
...changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|alias this produces an |alias this produces an
|infinite range... | |||
July 06, 2022 Issues » [Issue 22010] Link error with mutually recursive SumType / struct with opEquals | |||
|---|---|---|---|
| |||
...following: ``` import std.sumtype; import std.stdio; alias ST = SumType!(int, long, Custom[]); struct Custom... | |||
July 05, 2022 General » Re: Possible improvement of phobos map? | |||
|---|---|---|---|
| |||
...existing code. Something like this:
auto map(alias fun, R)(R range) {
static if (arity... | |||
July 06, 2022 General » Re: DIPX: Enum Literals / Implicit Selector Expression | |||
|---|---|---|---|
| |||
...overloading rules, e.g.: ```d import std; alias Poly(T)=T delegate(T=T.init... | |||
July 06, 2022 General » Re: DIPX: Enum Literals / Implicit Selector Expression | |||
|---|---|---|---|
| |||
...figured out and works: ```d import std; alias Poly(T)=T delegate(T=T.init... | |||
July 04, 2022 General » Re: Possible improvement of phobos map? | |||
|---|---|---|---|
| |||
...like this:
```d
import std;
struct MapPrototype(alias f, R) {
R r;
bool empty() { return... | |||
July 04, 2022 General » Possible improvement of phobos map? | |||
|---|---|---|---|
| |||
...do this:
```d
import std;
struct MapPrototype(alias f, R) {
R r;
bool empty() { return... | |||
July 04, 2022 Issues » [Issue 12411] New eponymous template syntax could support nested eponymous templates | |||
|---|---|---|---|
| |||
...T1, T2) = is(T1 == T2);
void main()
{
alias isInt = isEqual!int;
static assert(isInt!int... | |||
July 04, 2022 Issues » [Issue 11150] Symbol alias of member function impossible to be called | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=11150 Andrej Mitrovic <andrej.mitrovich@gmail.com... | |||
July 04, 2022 Learn » Re: vibe.d Serialize/Deserialize SumType to/from json | |||
|---|---|---|---|
| |||
...struct using `alias this`:
```d
struct CustomStruct
{
SumType!(A, B, C) unwrap;
alias unwrap this... | |||
Copyright © 1999-2021 by the D Language Foundation