September 22, 2007 General » Re: Feature request: clone a class (similar to typedef) | |||
|---|---|---|---|
| |||
You don't add keywords for things that have only come up "several times". If... | |||
September 22, 2007 General » Re: Feature request: clone a class (similar to typedef) | |||
|---|---|---|---|
| |||
...have a third keyword besides alias and typedef. One is for aliasing a class (alias... | |||
September 22, 2007 General » Re: Feature request: clone a class (similar to typedef) | |||
|---|---|---|---|
| |||
I feel your pain. import util.ex; // adds trailing Exception for me b/c I... | |||
September 22, 2007 General » Re: Feature request: clone a class (similar to typedef) | |||
|---|---|---|---|
| |||
One alternative is to put the class's body into a template and then use... | |||
September 21, 2007 General » Re: Feature request: clone a class (similar to typedef) | |||
|---|---|---|---|
| |||
I run into it all the time when I want to create a new Exception... | |||
September 21, 2007 General » Re: Feature request: clone a class (similar to typedef) | |||
|---|---|---|---|
| |||
coxalan Wrote: | |||
September 21, 2007 General » Feature request: clone a class (similar to typedef) | |||
|---|---|---|---|
| |||
...using typedef:
import std.stdio;
class foo {
static uint a;
}
typedef foo foo1;
typedef foo... | |||
September 21, 2007 GDC » [Issue 1523] New: struct literals not work with typedef | |||
|---|---|---|---|
| |||
...0; } *********************************************** $ gdc typedef_struct_literals.d typedef_struct_literals.d:11: function typedef_struct_literals... | |||
September 20, 2007 Learn » Re: C++ Macro to D mixin template, delegates Please help | |||
|---|---|---|---|
| |||
...can only contain 'declarations' which means;
Declaration:
typedef Decl
alias Decl
Decl
Decl:
StorageClasses Decl... | |||
September 20, 2007 General » Re: Sometimes, all you need is some simple drawing primitives | |||
|---|---|---|---|
| |||
...select = -1;
else
const int select = -1;
}
typedef rgb back_rgb;
back_rgb Back(rgb... | |||
Copyright © 1999-2021 by the D Language Foundation