August 29, 2006 General » Re: Some more template syntax sugar | |||
|---|---|---|---|
| |||
...nameless parameter:
typedef int a;
interface Foo { int bar(a); }
would then become:
typedef int... | |||
August 29, 2006 General » Re: Some more template syntax sugar | |||
|---|---|---|---|
| |||
...make parameter names to be mandatory here? typedef int x; auto sqr(x); //'x' is... | |||
August 29, 2006 General » Re: Some more template syntax sugar | |||
|---|---|---|---|
| |||
...from: typedef int x; auto sqr(x); i.e. when x is a typedef and... | |||
August 25, 2006 General » Re: The Next Mainstream Programming Language: A Game Developer’s Perspective | |||
|---|---|---|---|
| |||
...implicit conversion to (but not from) int. typedef 1..15 MyNumber; // only allows explicit conversion... | |||
August 25, 2006 DWT » Re: FLTK native in 'D'. Would that be useful? | |||
|---|---|---|---|
| |||
...to "Fl_Widget::handle(Fl_Event)" with "typedef int Fl_Event". Man, did I regret... | |||
August 21, 2006 General » Re: When is it time for a 1.0 feature freeze? | |||
|---|---|---|---|
| |||
...is the D meaning of "typedef" (since C's "typedef" is D's "alias"), and... | |||
August 20, 2006 DWT » Re: FLTK2 bindings for D | |||
|---|---|---|---|
| |||
...vector3di? They are typedefed anyway there.. typedef vector3d<f32> vector3df; typedef vector3d<s32> vector3di; Thanks. | |||
August 17, 2006 DWT » more about carbon (was Re: FLTK native in 'D'. Would that be useful?) | |||
|---|---|---|---|
| |||
...the typedef to alias (why, because C's typedef isn't D's typedef but... | |||
August 16, 2006 Learn » Re: super constructors: I can't take it anymore! | |||
|---|---|---|---|
| |||
How's this?
import std.stdio;
typedef int function(int i) WNDPROC;
class BaseWindow
{
void... | |||
August 16, 2006 Issues » [Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types | |||
|---|---|---|---|
| |||
...to change the length of those. Code: ----- typedef int ft(int); ft[] x; // is allowed... | |||
Copyright © 1999-2021 by the D Language Foundation