Search

October 08, 2008
General »
...overhead. It is like a weakened typedef.
So "typedef extends string PrintedString;" or some such...
October 06, 2008
General »
...by way of operator overloads on typedefs

typedef real Unit(..stuff..)
{
  Unit!(stuff) opAdd(T...
October 02, 2008
Announce »
...to discard? Just the
  typedef void foo(int);
syntax? Or any typedef of a function...
October 01, 2008
Learn »
...you change alias string[] Ts; into a typedef.

The reason is that aliases get resolved...
September 29, 2008
Announce »
...C
typedef void foo(int);

int main()
{
    foo bar;
    foo baz;
    bar = baz;
}

The typedef...
September 29, 2008
Announce »
...and they're pretty confusing for newbies:

typedef void Func(int);

Then you get oddities...
September 27, 2008
Learn »
...be stdcall, ie. extern (Windows)
extern (Windows) typedef void function(MEMORYSTATUSEX*) func_type;

void main...
September 27, 2008
Learn »
...ullAvailPageFile;
   DWORDLONG ullTotalVirtual;
   DWORDLONG ullAvailVirtual;
   DWORDLONG ullAvailExtendedVirtual;
}

typedef void function(MEMORYSTATUSEX*) func_type;
func_type...
September 11, 2008
Issues »
...it is exposed in the example given.

   typedef ubyte B=void;
   B[1] b=0...
September 11, 2008
Announce »
...Bright wrote:

Why can one then define

|   typedef int T=void; // T.init == void

-manfred...
210 211 212 213 214 215 216 217 218 219 220
Next ›   Last »