August 17, 2007 General » operator new(): struct v. class | |||
|---|---|---|---|
| |||
...int x;};
stuct S{int x;};
typedef C MyType;
//typedef S* MyType;
MyType inst = new... | |||
August 17, 2007 Announce » Mmrnmhrm 0.1 released | |||
|---|---|---|---|
| |||
...variable, function parameter, template, template parameter, alias, typedef, named enums, enum members, unnamed enum members... | |||
August 16, 2007 General » Re: Hiding class pointers -- operator new() | |||
|---|---|---|---|
| |||
...int x;};
stuct S{int x;};
typedef C MyType;
//typedef S* MyType;
MyType inst = new... | |||
August 15, 2007 Learn » Re: __FUNC__ in D | |||
|---|---|---|---|
| |||
...synchronized", "template", "this", "throw", "__traits", "true", "try", "typedef", "typeid", "typeof", "ubyte", "ucent", "uint", "ulong", "union... | |||
August 15, 2007 General » Re: Enum inheritance | |||
|---|---|---|---|
| |||
...i/10) ~ cast(char)('0'+i%10);
}
}
typedef int ET;
string Ecreate(string name, string... | |||
August 14, 2007 General » Re: Biggest problems w/ D - strings | |||
|---|---|---|---|
| |||
...that didn't rely on using a typedef. typedef int _MyInt42 = 42; auto var = cast... | |||
August 14, 2007 Learn » Interface factory | |||
|---|---|---|---|
| |||
...Iimplementation : I
{
void doSomething()
{
writefln("Hello world!");
}
}
typedef I function() FactoryType;
Iimplementation Factory()
{
return new... | |||
August 13, 2007 General » Re: Biggest problems w/ D - strings | |||
|---|---|---|---|
| |||
...ugly, but straightforward. 2) Typedef a zero-init char type. typedef char zchar = 0; struct... | |||
August 10, 2007 General » Re: Biggest problems w/ D - struct/class | |||
|---|---|---|---|
| |||
...significant in context.
I would like to typedef (or alias) like this:
struct S{}
class... | |||
August 10, 2007 Issues » [Issue 1410] New: Aliasing const-typed user defined types not working correctly. | |||
|---|---|---|---|
| |||
...types. The
following code demonstrates:
-----
struct Foo { }
typedef int Bar;
alias const( int ) CONST_INT... | |||
Copyright © 1999-2021 by the D Language Foundation