August 14, 2021 Learn » Re: partial initialization of fixed size ("static") arrays | |||
|---|---|---|---|
| |||
Static arrays really don't get any love :( I also recently filed a bug: https... | |||
August 14, 2021 Genel » Re: Çift Boyutlu Dizilerde .dup çalışmıyor | |||
|---|---|---|---|
| |||
...özellikleriyle bu halloluyordur.
T[] data;
T opIndex( size_t i, size_t j)
{
assert((i... | |||
August 14, 2021 Issues » [Issue 22209] New: NRVO variable detection ignoring `alias this` conversion => segfaults | |||
|---|---|---|---|
| |||
...currently on run.dlang.io):
```
struct U { size_t[4] a; }
struct S
{
int x... | |||
August 13, 2021 Learn » Re: How to extend the string class to return this inside the square bracket? | |||
|---|---|---|---|
| |||
...code
struct Idx { dchar ch; }
struct SliceRange { size_t start, end; }
struct StringWrapper {
string impl... | |||
August 13, 2021 Learn » Re: How to extend the string class to return this inside the square bracket? | |||
|---|---|---|---|
| |||
...opIndex(size_t[2] idxs) {
return SliceByIndexOf(s[ idxs[0] .. idxs[1]]);
}
size_t[2... | |||
August 10, 2021 Learn » Re: Error when compile with DMD using -m64? | |||
|---|---|---|---|
| |||
Use `size_t` and `ptrdiff_t` instead to make your program compile in both 32... | |||
August 10, 2021 Learn » Re: .tupleof for static array | |||
|---|---|---|---|
| |||
```d
import std.traits: isStaticArray;
template Iota(size_t n)
{
import std.meta: AliasSeq;
static... | |||
August 10, 2021 Learn » Re: .tupleof for static array | |||
|---|---|---|---|
| |||
...auto structOf(T, size_t N)(T[N] xs) {
string defstruct(size_t n) {
import... | |||
August 09, 2021 Learn » Re: writef, compile-checked format, pointer | |||
|---|---|---|---|
| |||
...either a type cast > > writefln!"%X"(cast(size_t)&x); > > or using the generic format... | |||
August 09, 2021 Learn » Re: writef, compile-checked format, pointer | |||
|---|---|---|---|
| |||
...either a type cast
writefln!"%X"(cast(size_t)&x);
or using the generic format... | |||
Copyright © 1999-2021 by the D Language Foundation