September 30, 2022 Issues » [Issue 23293] ImportC: Bit fields layout doesn't match C | |||
|---|---|---|---|
| |||
...31;
_Bool e:1;
};
_Static_assert(sizeof(struct S) == 4, "size != 4"); // 8 with DMD
-- | |||
September 29, 2022 General » Re: Things C++ 20 Deliberately Broke | |||
|---|---|---|---|
| |||
...But application developers didn't have any urgency...many factors. And the size of the existing... | |||
September 27, 2022 General » Re: DIP proposal: Enum parameters | |||
|---|---|---|---|
| |||
...size_t u) => slice!(l, u); ``` An improvement over: ``` auto opSlice(size_t l, size... | |||
September 25, 2022 General » Re: Allocator-aware @safe reference counting is still not possible | |||
|---|---|---|---|
| |||
...doesn't scale, because the effort required to maintain safety scales exponentially with program size... | |||
September 23, 2022 Learn » Re: to delete the '\0' characters | |||
|---|---|---|---|
| |||
...res);
}
}
string splitZeros(bool keepSep)(string s, size_t start = 0)
{
auto keep = keepSep ? 0... | |||
September 22, 2022 Learn » Re: to delete the '\0' characters | |||
|---|---|---|---|
| |||
...splitz(string s)
{
import std.string : indexOf;
size_t seekPos = s.indexOf('\0');
return s... | |||
September 22, 2022 General » Did the implicit conversion from special slice expression to static array ever work? | |||
|---|---|---|---|
| |||
...this code:
```d
void f(T, size_t n)(T[n] array) { }
void main()
{
int... | |||
September 21, 2022 Learn » Re: Best way to read CSV data file into Mir (2d array) ndslice? | |||
|---|---|---|---|
| |||
...data = slice!double(len, 2);
size_t i = 0;
size_t j;
foreach (record; records... | |||
September 21, 2022 General » Re: Template constraints should introduce identifiers inside their scopes | |||
|---|---|---|---|
| |||
...if (is(M : T[n], T, size_t n) || is(M : T[], T))
{
// on either... | |||
September 16, 2022 General » Re: What features of D you would not miss? | |||
|---|---|---|---|
| |||
...char` size to 4 bytes, so "`char` = `dchar`" by default Also, I won't miss... | |||
Copyright © 1999-2021 by the D Language Foundation