Search

July 07, 2022
Issues »
...changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|alias this produces an      |alias this produces an
                   |infinite range...
July 06, 2022
Issues »
...following:
```
import std.sumtype;
import std.stdio;

alias ST = SumType!(int, long, Custom[]);

struct Custom...
July 05, 2022
General »
...existing code. Something like this:

	auto map(alias fun, R)(R range) {
		static if (arity...
July 06, 2022
General »
...overloading rules, e.g.:

```d
import std;

alias Poly(T)=T delegate(T=T.init...
July 06, 2022
General »
...figured out and works:

```d
import std;

alias Poly(T)=T delegate(T=T.init...
July 04, 2022
General »
...like this:
```d
import std;

struct MapPrototype(alias f, R) {
    R r;
    bool empty() { return...
July 04, 2022
General »
...do this:

```d
import std;

struct MapPrototype(alias f, R) {
    R r;
    bool empty() { return...
July 04, 2022
Issues »
...T1, T2) = is(T1 == T2);

void main()
{
    alias isInt = isEqual!int;
    static assert(isInt!int...
July 04, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=11150

Andrej Mitrovic <andrej.mitrovich@gmail.com...
July 04, 2022
Learn »
...struct using `alias this`:

```d
struct CustomStruct
{
    SumType!(A, B, C) unwrap;
    alias unwrap this...
207 208 209 210 211 212 213 214 215 216 217
Next ›   Last »