January 29, 2021 General » Re: Discussion Thread: DIP 1036--String Interpolation Tuple Literals--Community Review Round 2 | |||
|---|---|---|---|
| |||
...just had to fit inside the ${ }.
> In particular...query(i"select * from foo where id = ${obj... | |||
January 26, 2021 General » Re: [DIP idea] out variables | |||
|---|---|---|---|
| |||
...void foo()
{
}
}
void main()
{
D d;
d.foo...of declaring a variable inside a function's... | |||
January 24, 2021 Issues » [Issue 6500] Show template instantiation values too | |||
|---|---|---|---|
| |||
...you when something broke inside a template (*and...onlineapp.d(5): instantiated from here: foo!(12) -- | |||
January 16, 2021 Learn » Re: How define accepted types in a template parameter? | |||
|---|---|---|---|
| |||
...either - `static if` inside the body [1] import std.traits; void foo(T)(T t... | |||
January 13, 2021 Learn » Re: How to debug D on Linux | |||
|---|---|---|---|
| |||
...example
void foo() pure {
writeln("called foo");
}
Normally...enables the `debug` keyword inside the D code... | |||
January 11, 2021 Learn » Re: Parameter with indetermined tuple elements type? | |||
|---|---|---|---|
| |||
...assert(!__traits(compiles, foo(2))); } Or, you can put the check inside the body of... | |||
December 31, 2020 General » Re: vibe.d diet - is there a way to use a D variable inside the "parameters" of a tag | |||
|---|---|---|---|
| |||
...words: sometag(foo=true) => <sometag foo="foo"> (or...to use class attributes inside the parentheses. -Steve | |||
December 21, 2020 Learn » Re: Trying to understand multidimensional arrays in D | |||
|---|---|---|---|
| |||
...right-to-left or inside out or outside in. >> int* foo; >> >> is a pointer to... | |||
November 08, 2020 Issues » [Issue 20905] Type definition inside a static if results in an undefined identifier | |||
|---|---|---|---|
| |||
...the definition order.
A reduced example:
```
struct Foo {
my_type index;
}
static if(true) {
alias... | |||
October 27, 2020 Issues » [Issue 21343] New: When a function takes a tuple created using __parameters, parameters are individually accessible | |||
|---|---|---|---|
| |||
...foo(int value) { }
static if (is(FunctionTypeOf!foo...parameters should not also be visible inside 'bar'.
-- | |||
Copyright © 1999-2021 by the D Language Foundation