Search

November 19
Issues »
https://issues.dlang.org/show_bug.cgi?id=24665

Nick Treleaven <nick@geany.org> changed...
November 19
Issues »
...struct Foo {
    static immutable align(1) Bar bar = Bar("foo");

    @safe
    void foo()
    {
        static assert...
November 19
Issues »
...metadata") @assumeUsed
static immutable Bar bar1 = Bar("foo1");
@section(".traces.metadata") @assumeUsed
static immutable Bar...
November 19
Issues »
...name;
    int b;
}

static immutable Bar bar = Bar("foo");

@safe
void foo()
{
    static assert(bar...
November 19
Issues »
...to make here:
1. Misaligned pointers in static immutables that are already initialised are
fine...
November 19
Issues »
...2;
}

struct Foo {
    static immutable Bar bar = Bar("foo");

    @safe
    void foo()
    {
        static assert(bar...
November 19
Issues »
...name;
}

struct Foo {
    static immutable Bar bar = Bar("foo");

    @safe
    void foo()
    {
        static assert(bar...
November 19
Learn »
...say pass a delegate instead of using static constructors, so that when the basement is...
November 18
Issues »
...void[24]);
void gee(void*);

void test() {
    static T t;
    gee(&t);              // no error
    bar...
November 18
Issues »
...std.traits;

    static struct S2 { ~this() { writeln("destroyed"); } }
    static struct S3 { S2 field; }
    static struct...
1 2 3 4 5 6 7 8 9
Next ›   Last »