Search

February 07, 2024
Learn »
...arr[], size_t size) {
    long total = 0;
    for (size_t i = 0; i < size; ++i...
February 07, 2024
Learn »
...arr[], size_t size) {
    int total = 0;
    for (size_t i = 0; i < size; ++i...
February 07, 2024
General »
...problem, but I don't see a way...possible that no one-size-fits-all solution...
February 07, 2024
General »
...well

```D
struct Array(T)
{
    T[] items;
    Allocator allocator;
    size_t count = 0;
```


Just store...
February 04, 2024
General »
...t for them, but that we can't...Most of the download size in the binaries...
February 02, 2024
Learn »
...T) = is(T == Variant);

// this is going to suck at CTFE but...
string argsAsVariants(size...
February 02, 2024
General »
...for many people, it doesn't bloat the compiler download size, it takes advantage of...
February 01, 2024
General »
...using template functions the size of the symbols...trim off this fat.


T

-- 
Ignorance is bliss...
January 31, 2024
General »

gtkd project uses `size_t`

https://github.com/gtkd-developers/GtkD/blob/17d7dc25e1adc9b86aff381b950f21706118ebeb/generated/gtkd...
January 28, 2024
Learn »
...length better to be *signed* `long` (signed size_t) instead of unsigned.

Can you guess...
22 23 24 25 26 27 28 29 30 31 32 33
Next ›   Last »