June 26, 2022 General » ImportC + nuklear = success! | |||
|---|---|---|---|
| |||
...workaround ``typedef unsigned __int32 size_t;`` ``typedef unsigned __int64 size_t;`` ``__declspec(noreturn)`` They refused... | |||
June 23, 2022 General » Re: `restricted` member variables | |||
|---|---|---|---|
| |||
...VLA {
private:
void* ptr;
size_t length;
public:
void setLength(size_t value);
void imBad... | |||
June 23, 2022 General » What I've learned while trying to port my game engine to PS Vita | |||
|---|---|---|---|
| |||
...or dealing with its length, `always` use `size_t` instead of "int", "ulong" or "uint... | |||
June 22, 2022 General » Re: `restricted` member variables | |||
|---|---|---|---|
| |||
...VLA {
private:
void* ptr;
size_t length;
public:
void setLength(size_t value);
}
struct Other... | |||
June 22, 2022 Announce » Re: DIP1000: Memory Safety in a Modern System Programming Language Pt.1 | |||
|---|---|---|---|
| |||
...if you know some upper size the array can't exceed. Kinda cheap but probably... | |||
June 20, 2022 Issues » [Issue 16098] align(N) not respected for stack variables if N > platform stack alignment | |||
|---|---|---|---|
| |||
...void main() {
byte a;
align(8) byte b;
assert((cast(size_t) &b) % 8 == 0);
}
-- | |||
June 18, 2022 Issues » [Issue 23195] New: codegen/calling convention bug causes small non-POD arguments to be broken for extern(C++) functions | |||
|---|---|---|---|
| |||
...structs with a maximum size of 8 bytes...POD or not doesn't matter). Dmd gets... | |||
June 18, 2022 General » Re: Adding a new design constraint to D | |||
|---|---|---|---|
| |||
...i != 1); // error in loop block
}
// Equivalent:
size_t singleLoopError = 1;
do
{
assert(singleLoopError != 1... | |||
June 16, 2022 Learn » Re: Convering strings containing number | |||
|---|---|---|---|
| |||
...1..b].to!T;
}
T kalKes(string str, size_t a, size_t l)
{
import... | |||
June 15, 2022 Genel » Re: D'de Döngülerin Farkları Nedir? | |||
|---|---|---|---|
| |||
...gereksizce dizi oluşturuldu diye mi? > > --- > T[] sıralıBirDiziOluştur(T)(size_t uzunluk) > // sıralıBirDiziOluştur!int(10) -> [1... | |||
Copyright © 1999-2021 by the D Language Foundation