Search

March 31, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=22926

--- Comment #4 from Walter Bright <bugzilla...
March 30, 2022
Learn »
You can also use `static foreach` and `alias`, although that will restrict that code to...
March 30, 2022
Learn »
...writeln("no foo");
}

version(foo)
    alias f = fImpl!true;
else
    alias f = fImpl!false;

unittest...
March 30, 2022
Learn »
...two delegates :)

```d
import std;

void main(){
	alias DelegateT = string delegate();

	// An array of delegates...
March 30, 2022
Learn »
...example:

```d
import std.stdio;

void main()
{
  alias DelegateT = string delegate();

  // An array of delegates...
March 30, 2022
General »
...But if the assumption that most programs alias data (copying a pointer) more often than...
March 29, 2022
Learn »
...that typing elsewhere.  I could use an alias called `Axioms` I guess.

Every time I...
March 29, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=22926

--- Comment #3 from duser@neet.fi...
March 27, 2022
Issues »
https://issues.dlang.org/show_bug.cgi?id=22926

Walter Bright <bugzilla@digitalmars.com> changed...
March 27, 2022
Issues »
...config.d
static if (1)
        alias my_long = long;
else
        alias my_long = long;

main...
235 236 237 238 239 240 241 242 243 244 245
Next ›   Last »