September 24 General » Re: float.sizeof should be 4 | |||
|---|---|---|---|
| |||
...used weren't size_t. And yes, having sizeof be treated as size_t does... | |||
September 24 General » Re: float.sizeof should be 4 | |||
|---|---|---|---|
| |||
...to look at the size of an enum...E == enum))
{
alias T = imported!"std.traits... | |||
September 24 General » Re: float.sizeof should be 4 | |||
|---|---|---|---|
| |||
...here, not a value, and that property has for value 4, and type size_t. | |||
September 24 General » Re: float.sizeof should be 4 | |||
|---|---|---|---|
| |||
...values, in this case sizeof (of type size_t) and 4 (a nibble). It should... | |||
September 23 General » Re: float.sizeof should be 4 | |||
|---|---|---|---|
| |||
...size, and you really want stuff like T.sizeof * numberOfTs to result in size_t... | |||
September 22 General » Re: float.sizeof should be 4 | |||
|---|---|---|---|
| |||
...make sizes a consistent type, which is size_t. This does not eliminate the possibility... | |||
September 22 General » Re: float.sizeof should be 4 | |||
|---|---|---|---|
| |||
...represents a size, not a number. It's fine for me it is size_t. | |||
September 22 General » float.sizeof should be 4 | |||
|---|---|---|---|
| |||
...literal would just work -- it would become `size_t` if it was too big. -Steve | |||
September 22 DIP Development » Re: Third and Hopefully Last Draft: Primary Type Syntax | |||
|---|---|---|---|
| |||
...size_t) x1 = 1; // Syntax error // align (size_t) x2 = 1; // Syntax error // package (size... | |||
September 20 Learn » need help to work around float union non-zero init | |||
|---|---|---|---|
| |||
...build size) But I find this problem with float inside union: ```d struct test_t... | |||
Copyright © 1999-2021 by the D Language Foundation