May 18, 2021 General » Re: Associative arrays | |||
|---|---|---|---|
| |||
...this, most likely:
```d
auto aa = makeAA!(string, long)("foo", 5, "bar", 10, "baz", 2000);
``` | |||
May 18, 2021 General » Re: Associative arrays | |||
|---|---|---|---|
| |||
...equivalent of this: ```d long[string] aa = ["foo": 5, "bar": 10, "baz": 2000 ]; ``` look like? | |||
May 15, 2021 Learn » Re: Recommendations on avoiding range pipeline type hell | |||
|---|---|---|---|
| |||
...makeMyType(X, Y)(/* ... */) {
auto myArg = foo!X.bar!Y.etc;
return MyType!(typeof(myArg))(myArg... | |||
May 14, 2021 General » Re: Add ImportC compiler to dmd | |||
|---|---|---|---|
| |||
...call expressions.
__attribute__( (fun1, fun2(2), fun3("bar"), fun4(5, 6)) )
Failing that, just accept... | |||
May 13, 2021 General » Re: Add ImportC compiler to dmd | |||
|---|---|---|---|
| |||
...finline foo.c bar.d` doesn't inline C functions into bar. I meant conflicts... | |||
May 13, 2021 General » Re: Appreciation for Adrdox | |||
|---|---|---|---|
| |||
...also a thing you can do (the bar came from wikipedia syntax rather than markdown... | |||
May 13, 2021 Learn » String "dequote" in phobos? | |||
|---|---|---|---|
| |||
...s"`) == "foo's"); assert(dequote(`'foo "bar"'`) == `foo "bar"`); assert(dequote(`"fo\"o"`) == `fo"o... | |||
May 13, 2021 Learn » Re: Is inc function part of the library ? | |||
|---|---|---|---|
| |||
...Alain De Vos wrote: In the search bar at the top of the page, enter... | |||
May 12, 2021 General » Re: No we should not support enum types derived from strings | |||
|---|---|---|---|
| |||
...only argument passed down to foo. void bar(T)(T t); // There is no expectation... | |||
May 12, 2021 General » Re: Add ImportC compiler to dmd | |||
|---|---|---|---|
| |||
...bar.d -o bar.o; go1 baz.go -o baz.o; ld foo.o bar... | |||
Copyright © 1999-2021 by the D Language Foundation