November 19 Issues » [Issue 24665] Static array cast can be an unsafe lvalue | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24665 Nick Treleaven <nick@geany.org> changed... | |||
November 19 Issues » [Issue 24867] Wrong deprecation warning of @system variable usage under CTFE | |||
|---|---|---|---|
| |||
...struct Foo {
static immutable align(1) Bar bar = Bar("foo");
@safe
void foo()
{
static assert... | |||
November 19 Issues » [Issue 24867] Wrong deprecation warning of @system variable usage under CTFE | |||
|---|---|---|---|
| |||
...metadata") @assumeUsed
static immutable Bar bar1 = Bar("foo1");
@section(".traces.metadata") @assumeUsed
static immutable Bar... | |||
November 19 Issues » [Issue 24867] Wrong deprecation warning of @system variable usage under CTFE | |||
|---|---|---|---|
| |||
...name;
int b;
}
static immutable Bar bar = Bar("foo");
@safe
void foo()
{
static assert(bar... | |||
November 19 Issues » [Issue 24867] Wrong deprecation warning of @system variable usage under CTFE | |||
|---|---|---|---|
| |||
...to make here: 1. Misaligned pointers in static immutables that are already initialised are fine... | |||
November 19 Issues » [Issue 24867] Wrong deprecation warning of @system variable usage under CTFE | |||
|---|---|---|---|
| |||
...2;
}
struct Foo {
static immutable Bar bar = Bar("foo");
@safe
void foo()
{
static assert(bar... | |||
November 19 Issues » [Issue 24867] New: Wrong deprecation warning of @system variable usage under CTFE | |||
|---|---|---|---|
| |||
...name;
}
struct Foo {
static immutable Bar bar = Bar("foo");
@safe
void foo()
{
static assert(bar... | |||
November 19 Learn » Re: Threading with SDL | |||
|---|---|---|---|
| |||
...say pass a delegate instead of using static constructors, so that when the basement is... | |||
November 18 Issues » [Issue 24866] New: Inconsistent behavior in safe checking of conversion to void | |||
|---|---|---|---|
| |||
...void[24]);
void gee(void*);
void test() {
static T t;
gee(&t); // no error
bar... | |||
November 18 Issues » [Issue 24865] New: __traits(hasMember, T, "__xdtor") is true in some cases where there is no __xdtor member | |||
|---|---|---|---|
| |||
...std.traits;
static struct S2 { ~this() { writeln("destroyed"); } }
static struct S3 { S2 field; }
static struct... | |||
Copyright © 1999-2021 by the D Language Foundation