Search

August 17, 2007
General »
...int x;};
stuct S{int x;};
typedef C MyType;
//typedef S* MyType;
MyType inst = new...
August 17, 2007
Announce »
...variable, function parameter, template, template parameter, alias, typedef, named enums, enum members, unnamed enum members...
August 16, 2007
General »
...int x;};
stuct S{int x;};
typedef C MyType;
//typedef S* MyType;
MyType inst = new...
August 15, 2007
Learn »
...synchronized",
	"template",
	"this",
	"throw",
	"__traits",
	"true",
	"try",
	"typedef",
	"typeid",
	"typeof",
	"ubyte",
	"ucent",
	"uint",
	"ulong",
	"union...
August 15, 2007
General »
...i/10) ~ cast(char)('0'+i%10);
        }
}

typedef int ET;

string Ecreate(string name, string...
August 14, 2007
General »
...that didn't rely on using a typedef.

typedef int _MyInt42 = 42;
auto var = cast...
August 14, 2007
Learn »
...Iimplementation : I
{
	void doSomething()
	{
		writefln("Hello world!");
	}
}

typedef I function() FactoryType;

Iimplementation Factory()
{
	return new...
August 13, 2007
General »
...ugly, but straightforward.

2) Typedef a zero-init char type.

typedef char zchar = 0;

struct...
August 10, 2007
General »
...significant in context.

I would like to typedef (or alias) like this:

struct S{}
class...
August 10, 2007
Issues »
...types. The
following code demonstrates:
-----
struct Foo { }
typedef int Bar;
alias const( int ) CONST_INT...
232 233 234 235 236 237 238 239 240 241 242
Next ›   Last »