April 04, 2009 General » Re: Andrei's interface requests | |||
|---|---|---|---|
| |||
...the following:
interface Foo
{
this(int i);
typedef Bar;
}
Foo foo = new Foo(42); // huh... | |||
April 03, 2009 Issues » [Issue 1659] template alias parameters are chosen over all but exact matches. | |||
|---|---|---|---|
| |||
...similar to BUG 918.
import std.stdio;
typedef char ctd;
class Foo { }
class Bar : Foo... | |||
April 02, 2009 Issues » [Issue 918] Template order matter, version block change something with typedef, and another template bug. | |||
|---|---|---|---|
| |||
http://d.puremagic.com/issues/show_bug.cgi?id=918 matti.niemenmaa+dbugzilla@iki.fi... | |||
April 02, 2009 Issues » [Issue 2784] New: Interfaces should be able to require type definitions | |||
|---|---|---|---|
| |||
...metalanguage.com
This should work:
interface Foo
{
typedef Bar;
}
meaning that the interface should contain... | |||
April 02, 2009 Issues » [Issue 918] Template order matter, version block change something with typedef, and another template bug. | |||
|---|---|---|---|
| |||
http://d.puremagic.com/issues/show_bug.cgi?id=918 baryluk@smp.if.uj.edu... | |||
March 27, 2009 General » Re: D's "accessors" are like abusing operator overloads | |||
|---|---|---|---|
| |||
...default, I think you do something like: typedef int myint = 5; myint x; writefln(x... | |||
March 27, 2009 General » Re: DMC to Create C .lib ? | |||
|---|---|---|---|
| |||
...preprended by TCODLIB_API, which is a typedef to __declspec(dllexport) ( or __declspec(import) ) which... | |||
March 23, 2009 General » instance of sub class created in a dll has wired behaviour when cast | |||
|---|---|---|---|
| |||
...util.log.Trace; // declaring our function pointer typedef extern (C) Factory function() createFunc; createFunc dllcreate... | |||
March 19, 2009 Learn » Re: C callbacks? | |||
|---|---|---|---|
| |||
...Gordon Wrote: I believe it was a typedef in this case. There were other points... | |||
March 19, 2009 Learn » Re: C callbacks? | |||
|---|---|---|---|
| |||
...alias (the D equivalent of typedef in C) or a typedef (an actual new type... | |||
Copyright © 1999-2021 by the D Language Foundation