August 15, 2022 Issues » [Issue 22522] [dip1000] Creating interior pointers allowed in @safe | |||
|---|---|---|---|
| |||
...S {
int storage;
int* ptr;
this(int dummy) return scope {
ptr = &storage;
}
int* get() return... | |||
August 06, 2022 Learn » Re: Arbitrary precision decimal numbers | |||
|---|---|---|---|
| |||
...return *this; }
inline xlcmplx& operator+() { return *this; } // dummy operator
inline xlcmplx operator-() const { return xlcmplx... | |||
July 22, 2022 General » Re: Is everything alright? | |||
|---|---|---|---|
| |||
...ve used it is just using a dummy project to pull in vibe.d dependencies... | |||
July 20, 2022 Learn » Re: Working with arrays (flatten, transpose, verfify rectangular) | |||
|---|---|---|---|
| |||
...if (isArray!A)
{
size_t[] dummy;
return isRectangular(a, dummy);
}
bool isRectangular(A)(A a... | |||
June 15, 2022 General » Re: dip1000 and preview in combine to cause extra safety errors | |||
|---|---|---|---|
| |||
...like
```D
void nonScopeArgument(int* arg)
{ static int* dummy;
if(false) dummy = arg;
}
```
. No thanks. | |||
May 30, 2022 Issues » [Issue 17448] Move semantics cause memory corruption and cryptic bugs | |||
|---|---|---|---|
| |||
...stdio;
struct S{
S* ptr;
this(int dummy) {ptr = &this;}
this(this) {ptr = &this;}
void... | |||
May 30, 2022 Issues » [Issue 17448] Move semantics cause memory corruption and cryptic bugs | |||
|---|---|---|---|
| |||
...d
struct S {
S* addr;
this(int dummy) { this.addr = &this; }
this(ref const S... | |||
May 30, 2022 Issues » [Issue 17448] Move semantics cause memory corruption and cryptic bugs | |||
|---|---|---|---|
| |||
...dmd:
struct S {
S* addr;
this(int dummy) { this.addr = &this; }
static S create() { return... | |||
May 14, 2022 General » Re: The point of const, scope, and other attributes | |||
|---|---|---|---|
| |||
...input,
auto ref int optional_output = 0 /* dummy rvalue default */)
{
writefln!"Input received: %s"(input... | |||
April 26, 2022 Learn » Re: How to use destroy and free. | |||
|---|---|---|---|
| |||
...class C {
@nogc this(){}
@nogc this(int dummy){};
@nogc int[3] fixarr=new int[3... | |||
Copyright © 1999-2021 by the D Language Foundation