Search

November 17, 2006
Issues »
...DepUnion {}
    enum DepEnum { A }
    alias int DepAlias;
    typedef int DepTypedef;
}

DepClass returnClass();
DepStruct returnStruct();
DepUnion...
November 17, 2006
Issues »
...DepUnion {}
    enum DepEnum { A }
    alias int DepAlias;
    typedef int DepTypedef;
}

void func(DepStruct obj) {}
void...
November 15, 2006
Announce »
...a variable declaration and then put alias/typedef on front of it; ever since I...
November 15, 2006
Announce »
...typedef/alias were:

  alias newname = oldname;

I always thought the ordering for C++'s typedef...
November 15, 2006
General »
...matter what it is -- class, struct, or typedef."

That said, even though there is a...
November 14, 2006
General »
...something like:

// somewhere in Phobos ...
typedef void* delegate() Allocate;
typedef void delegate(void*) Deallocate;

struct...
November 14, 2006
General »
...Phobos and treated as special by compiler
    typedef void* delegate() DeterministicAllocator;

    class Foo {
        // 'new' is...
November 13, 2006
Learn »
...import std.stdio : writefln;

alias class Foo {}

typedef class Bar {}

void main()
{
    Foo c = new...
November 13, 2006
Learn »


The grammar for alias and typedef is
alias Declaration

I don't know what the...
November 13, 2006
Learn »
...that this is possible:

---
alias class Foo {
}

typedef class Bar {
}
---

What those attributes in a...
253 254 255 256 257 258 259 260 261 262 263
Next ›   Last »