August 15, 2021 Learn » Re: Getting a working example of opIndexAssign using opSlice ... have troubles ... | |||
|---|---|---|---|
| |||
...return 43;
}
int[2] opSlice(size_t x, size_t y) // overloads i .. j
{
writeln... | |||
August 15, 2021 Learn » Re: Getting a working example of opIndexAssign using opSlice ... have troubles ... | |||
|---|---|---|---|
| |||
...return v;
}
size_t[2] opSlice(size_t i)(size_t x, size_t y... | |||
August 15, 2021 Learn » Re: Getting a working example of opIndexAssign using opSlice ... have troubles ... | |||
|---|---|---|---|
| |||
...return 43;
}
int[2] opSlice(size_t x, size_t y) // overloads i .. j
{
writeln... | |||
August 15, 2021 Learn » Getting a working example of opIndexAssign using opSlice ... have troubles ... | |||
|---|---|---|---|
| |||
...v, size_t[2] x); // overloads a[i .. j] = v
int[2] opSlice(size_t... | |||
August 15, 2021 Learn » Re: Drawbacks of exceptions being globally allocated | |||
|---|---|---|---|
| |||
...auto size = __traits(classInstanceSize, T);
auto memory = malloc(size)[0 .. size];
auto instance = emplace!(T... | |||
August 15, 2021 Learn » Re: What exactly are the String literrals in D and how they work? | |||
|---|---|---|---|
| |||
...as the following pair: size_t length; // The number of elements T * ptr; // The pointer... | |||
August 15, 2021 General » Re: Implementing serialisation with minmal boilerplate and template overhead using core.reflect | |||
|---|---|---|---|
| |||
...length = *cast(size_t*) ptr;
const void* values = *cast(const ubyte**)(ptr + size_t.sizeof... | |||
August 15, 2021 General » Implementing serialisation with minmal boilerplate and template overhead using core.reflect | |||
|---|---|---|---|
| |||
...length = *cast(size_t*) ptr;
const void* values = *cast(const ubyte**)(ptr + size_t.sizeof... | |||
August 15, 2021 Learn » Re: What exactly are the String literrals in D and how they work? | |||
|---|---|---|---|
| |||
...This doesn't use the GC but the stack is limited in size and now... | |||
August 14, 2021 General » Re: Do you use D's GC? | |||
|---|---|---|---|
| |||
...fixed the allocation size as you said and now I can't reproduce the behavior... | |||
Copyright © 1999-2021 by the D Language Foundation