February 07, 2024 Learn » Re: length's type. | |||
|---|---|---|---|
| |||
...arr[], size_t size) {
long total = 0;
for (size_t i = 0; i < size; ++i... | |||
February 07, 2024 Learn » Re: length's type. | |||
|---|---|---|---|
| |||
...arr[], size_t size) {
int total = 0;
for (size_t i = 0; i < size; ++i... | |||
February 07, 2024 General » Re: Phobos 3 Discussion Notes - 02-01-2024 | |||
|---|---|---|---|
| |||
...problem, but I don't see a way...possible that no one-size-fits-all solution... | |||
February 07, 2024 General » Re: Phobos 3 Discussion Notes - 02-01-2024 | |||
|---|---|---|---|
| |||
...well
```D
struct Array(T)
{
T[] items;
Allocator allocator;
size_t count = 0;
```
Just store... | |||
February 04, 2024 General » Re: Phobos 3 Discussion Notes - 02-01-2024 | |||
|---|---|---|---|
| |||
...t for them, but that we can't...Most of the download size in the binaries... | |||
February 02, 2024 Learn » Re: Scripting with Variant from std.variant: parameter passing | |||
|---|---|---|---|
| |||
...T) = is(T == Variant); // this is going to suck at CTFE but... string argsAsVariants(size... | |||
February 02, 2024 General » Re: Phobos 3 Discussion Notes - 02-01-2024 | |||
|---|---|---|---|
| |||
...for many people, it doesn't bloat the compiler download size, it takes advantage of... | |||
February 01, 2024 General » LDC wasm target: suppressing needless exports? | |||
|---|---|---|---|
| |||
...using template functions the size of the symbols...trim off this fat. T -- Ignorance is bliss... | |||
January 31, 2024 General » Re: Varargs issue with LDC | |||
|---|---|---|---|
| |||
gtkd project uses `size_t` https://github.com/gtkd-developers/GtkD/blob/17d7dc25e1adc9b86aff381b950f21706118ebeb/generated/gtkd... | |||
January 28, 2024 Learn » Re: length's type. | |||
|---|---|---|---|
| |||
...length better to be *signed* `long` (signed size_t) instead of unsigned. Can you guess... | |||
Copyright © 1999-2021 by the D Language Foundation