May 11, 2022 General » [Semi-OT] Fibers vs. Async / Await | |||
|---|---|---|---|
| |||
...I don't like the Task\<T> and...can tweak the stack size. Seems like a... | |||
May 09, 2022 LDC » memory align cause weird bug | |||
|---|---|---|---|
| |||
...16. ```d auto diff = (cast(size_t) &(context.block)) % (size_t.sizeof *2); ``` If the... | |||
May 07, 2022 Genel » Re: Inclusive Range for D v2 | |||
|---|---|---|---|
| |||
...den itibaren*/
void printRange(R)(R r, size_t s) {
r[$-s..$].writefln!"[... %(%.12f, %)]: %s... | |||
May 06, 2022 Learn » Re: How to unpack template parameters,Or how to forward parameters? | |||
|---|---|---|---|
| |||
...arr)
if(isStaticArray!(typeof(arr))){
auto get(size_t I)(){
return arr[I];
}
alias Result... | |||
May 05, 2022 Learn » Re: Why isn't my dynamic array method doesn't work for this type? | |||
|---|---|---|---|
| |||
...any length dynamically by asking the array size and array elements from user and display... | |||
May 05, 2022 Learn » Re: Why isn't my dynamic array method doesn't work for this type? | |||
|---|---|---|---|
| |||
...add(T element) {
if (this.capacity == this.length) {
this.capacity += DEF_VEC_REALLOC_SIZE;
this... | |||
May 05, 2022 Learn » Re: Why isn't my dynamic array method doesn't work for this type? | |||
|---|---|---|---|
| |||
...DEF_VEC_REALLOC_SIZE;
//realloc(this.ptr, T.sizeof * DEF_VEC_REALLOC_SIZE);
this.ptr... | |||
May 05, 2022 Learn » Why isn't my dynamic array method doesn't work for this type? | |||
|---|---|---|---|
| |||
...ALLOC_SIZE = 3;
void exit_prog(int code) {
exit(0);
}
struct Vector(T) {
T* ptr... | |||
May 04, 2022 Learn » Re: How to use destroy and free. | |||
|---|---|---|---|
| |||
[...] scope ptr = GC.malloc(size); scope(exit) GC...until end of scope T -- It's amazing... | |||
May 04, 2022 Announce » D Language Foundation April Quarterly Meeting and Server Meeting Summaries | |||
|---|---|---|---|
| |||
...so that they don't have to keep...in turn limits the size of the window... | |||
Copyright © 1999-2021 by the D Language Foundation