April 20, 2022 Learn » Create an associative array with function pointers as the value | |||
|---|---|---|---|
| |||
...FILE* file; const char* name; size_t ln, cn, size; str identifier, type_buffer, type... | |||
April 17, 2022 General » Re: List of all permitted operations on scope function parameters. | |||
|---|---|---|---|
| |||
...in `@safe` code:
```d
int* stack_allocate(size_t) @safe;
void test() @safe
{
scope int... | |||
April 17, 2022 Learn » Re: Do I have to pass parameters with ref explicitly? | |||
|---|---|---|---|
| |||
...blitting big structs. I still don't know size of a struct should be considered... | |||
April 17, 2022 Issues » [Issue 23024] New: Large static array causes access violation on Windows with DMD | |||
|---|---|---|---|
| |||
...data;
extern(C) void main() {
foreach (immutable size_t i; 0 .. data.length) {
printf("Write... | |||
April 16, 2022 Genel » Re: Üye İşlevlerin Gizli Parametresi | |||
|---|---|---|---|
| |||
...dosya = __FILE__, // Yararlı bilgiler
string işlev = __FUNCTION__,
size_t satır = __LINE__)() {
try {
dg();
} catch (Exception... | |||
April 11, 2022 General » Re: Rebooting the __metada/__mutable discussion | |||
|---|---|---|---|
| |||
...T)
{
private T* subject;
private size_t* counter;
this(T* subject)
{
this.counter = new size... | |||
April 10, 2022 Duyuru » Re: Sohbet: 10 Nisan 2022, Pazar, sabah 11:00 | |||
|---|---|---|---|
| |||
...ptr);
// ...
return result;
}
struct __string(T) {
size_t length;
immutable(T) * ptr;
}
+/
/+
struct S {
int... | |||
April 10, 2022 Issues » [Issue 23007] New: importC: dmd segfaults for extra braces in array initializer | |||
|---|---|---|---|
| |||
...d:251 251 array(ci.type, cast(size_t)ci.type.isTypeSArray().dim.toInteger()); (gdb... | |||
April 07, 2022 Learn » Re: How to implement this? | |||
|---|---|---|---|
| |||
...cast(T*)result;
}
void * nextAlignedAddress(T)(void * candidateAddr) {
return nextAlignedAddress(cast(T*)candidateAddr);
}
size_t... | |||
April 05, 2022 Learn » Re: Removing elements from dynamic arrays? | |||
|---|---|---|---|
| |||
...d
auto dropSlice(T)(T[] array, T which)
{
T[] result;
size_t i; // old index... | |||
Copyright © 1999-2021 by the D Language Foundation