October 08, 2008 General » Re: Top 5 | |||
|---|---|---|---|
| |||
...overhead. It is like a weakened typedef. So "typedef extends string PrintedString;" or some such... | |||
October 06, 2008 General » Re: Units of Measure in F# | |||
|---|---|---|---|
| |||
...by way of operator overloads on typedefs
typedef real Unit(..stuff..)
{
Unit!(stuff) opAdd(T... | |||
October 02, 2008 Announce » Re: Revised RFC on range design for D2 | |||
|---|---|---|---|
| |||
...to discard? Just the typedef void foo(int); syntax? Or any typedef of a function... | |||
October 01, 2008 Learn » Re: Double face templates | |||
|---|---|---|---|
| |||
...you change alias string[] Ts; into a typedef. The reason is that aliases get resolved... | |||
September 29, 2008 Announce » Re: Revised RFC on range design for D2 | |||
|---|---|---|---|
| |||
...C
typedef void foo(int);
int main()
{
foo bar;
foo baz;
bar = baz;
}
The typedef... | |||
September 29, 2008 Announce » Re: Revised RFC on range design for D2 | |||
|---|---|---|---|
| |||
...and they're pretty confusing for newbies: typedef void Func(int); Then you get oddities... | |||
September 27, 2008 Learn » Re: Shared Library: Why doesn't this work? | |||
|---|---|---|---|
| |||
...be stdcall, ie. extern (Windows) extern (Windows) typedef void function(MEMORYSTATUSEX*) func_type; void main... | |||
September 27, 2008 Learn » Shared Library: Why doesn't this work? | |||
|---|---|---|---|
| |||
...ullAvailPageFile; DWORDLONG ullTotalVirtual; DWORDLONG ullAvailVirtual; DWORDLONG ullAvailExtendedVirtual; } typedef void function(MEMORYSTATUSEX*) func_type; func_type... | |||
September 11, 2008 Issues » [Issue 2348] T.init == void ==> T[1] rejected | |||
|---|---|---|---|
| |||
...it is exposed in the example given. typedef ubyte B=void; B[1] b=0... | |||
September 11, 2008 Announce » Re: An alternative to .init | |||
|---|---|---|---|
| |||
...Bright wrote: Why can one then define | typedef int T=void; // T.init == void -manfred... | |||
Copyright © 1999-2021 by the D Language Foundation