November 05, 2021 Issues » [Issue 22327] [Templates] arguments of T[] literals work for exactly one initialization before being set in stone | |||
|---|---|---|---|
| |||
...declaration 'foo(T, int[] somedata_)'
++foo(T, int[] somedata_) at end of scope
------------------
Inside findBestMatch... | |||
October 31, 2021 Learn » Re: The type inference everywhere | |||
|---|---|---|---|
| |||
Actually, foo is inside a class. So using T is very easy. Moreover,it's... | |||
October 24, 2021 Issues » [Issue 22433] New: ITFI fails with alias declared inside template, used in function signature | |||
|---|---|---|---|
| |||
...template foo(I)
{
alias Idx = int;
void foo...fails with alias declared inside template, used
in... | |||
October 14, 2021 General » Re: Accessing static data of functions | |||
|---|---|---|---|
| |||
...foo(); s.s = 42; foo().s++; assert(foo...access the types defined inside > in function to... | |||
October 08, 2021 General » Re: [OT] What are D's values? | |||
|---|---|---|---|
| |||
...return &obj.foo(); else return &obj.foo; ``` The...some access to things inside the template, and... | |||
October 04, 2021 Issues » [Issue 22358] Allocations from foreign threads lead to crash | |||
|---|---|---|---|
| |||
...some extra information: foo done foo done AddressSanitizer...1 Looks like something inside of thread_attachThis... | |||
September 30, 2021 Learn » Re: 0 cost template instantiation | |||
|---|---|---|---|
| |||
...repeated name
load(&x, "foo");
// casts needed here...A little void casting inside the function can... | |||
September 27, 2021 Learn » Re: Mixin programming foreach | |||
|---|---|---|---|
| |||
...Foo", "bar")); auto foo = Foo(42); assert(foo...static foreach' is available inside a template scope... | |||
September 23, 2021 General » Re: const or immutable? | |||
|---|---|---|---|
| |||
...as possible: const arr = foo(); However, as soon...went ahead and reached inside and used members... | |||
September 23, 2021 General » Re: What should happen here? | |||
|---|---|---|---|
| |||
...So adding:
```d
void foo()
{
int[1000] x...an empty `asm` block inside.
But I can... | |||
Copyright © 1999-2021 by the D Language Foundation