November 10 Issues » [Issue 24852] LDC fails when compile foreach for the target avr. | |||
|---|---|---|---|
| |||
...ldc2 -betterC -mtriple=avr -gcc=avr-gcc test_ptr.d The C style compiles fine. -- | |||
November 10 LDC » ASM: Loading address of label truncates to 32 bits on x64 | |||
|---|---|---|---|
| |||
...ptr [rbp-48h] 00007FF760D244AA shl eax,4 00007FF760D244AD lea rcx,[60D244B8h] 00007FF760D244B5 jmp qword ptr... | |||
October 23 Issues » [Issue 24829] New: Rebindable2 does not correctly handle types with copy constructors or postblit constructors which aren't assignable | |||
|---|---|---|---|
| |||
...ptr = new int(i);
}
this(this) @safe
{
if(ptr !is null)
ptr = new int(*ptr... | |||
October 22 Learn » Function names, Lib used from C and D | |||
|---|---|---|---|
| |||
...type;
uint usage;
size_t size;
void* ptr;
}
extern(C):
private {
bool pInit() {
return true... | |||
October 14 Issues » [Issue 24815] New: betterC can not use alloca() | |||
|---|---|---|---|
| |||
...s; %.*s\n", memS.ptr, cast(int)memS.length, memS.ptr); } ``` ``` $ dmd -betterC alloca1.d... | |||
October 12 General » Re: One of the thing I like in D | |||
|---|---|---|---|
| |||
...int* ptr = &(c ? a : b);
*ptr = 8;
assert(a == 8);
*ptr = (c ? b : a);
*ptr... | |||
October 11 General » Re: One of the thing I like in D | |||
|---|---|---|---|
| |||
...ref ptr = (c ? a : b);
ptr = 8;
assert(a == 8);
ptr = (c ? b : a);
ptr... | |||
October 12 General » Re: Move Constructor Syntax | |||
|---|---|---|---|
| |||
...Lol, classic that it presented in rc-ptr! ;) Again, a specifically stated goal of this... | |||
October 10 Learn » Re: Wrapper for PAM | |||
|---|---|---|---|
| |||
...response **resp,
void *appdata_ptr)
{
auto data = cast(PAMdata*)appdata_ptr;
auto responses = cast(pam... | |||
October 10 Learn » Re: Wrapper for PAM | |||
|---|---|---|---|
| |||
...message **msg, pam_response **resp, void *appdata_ptr)
{ /* ... */}
```
There is no need for `this`.
```d... | |||
Copyright © 1999-2021 by the D Language Foundation