Search

July 19, 2006
General »
...alias allows to extend base types.
Extended typedef allows to extend and to reduce operations...
July 19, 2006
General »
...think that such extended typedef makes sense for other basic types:

typedef color uint
{
    uint...
July 19, 2006
General »
I like that typedef.  Should be templatable though...

typedef(T) array T[]
{
    ...
}

Or some such...
July 19, 2006
General »
...example string definition might look like as:

typedef  string char[]
{
    disable opAssign;
    ....
    char[] tolower() { ..... }
}

In...
July 18, 2006
Issues »
http://d.puremagic.com/issues/show_bug.cgi?id=249


jpelcis@gmail.com changed:

           What...
July 18, 2006
c++ »
...PIUtilities.h"

/***************************************************************/

#if MSWindows
typedef	HFILE	FileHandle;
typedef Handle	AliasHandle;
typedef struct
	{	
	char fileName [256...
July 17, 2006
D »
Like this

Module ss.d

typedef void delegate(...)  SIGNAL;
typedef void delegate(...)  SLOT;

struct SIGNAL...
July 17, 2006
D »
Like this

Module ss.d

typedef void delegate(...)  SIGNAL;
typedef void delegate(...)  SLOT;

struct SIGNAL...
July 16, 2006
General »
...spec states:

"If TypeSpecialization is one of  typedef  struct  union  class interface enum  function  delegate...
July 16, 2006
Issues »
...stdio;

class BaseClass {
        int BaseProp() { return 1; }
}

typedef BaseClass ClassTypedef;

void testfunc(ClassTypedef t) {    writefln...
262 263 264 265 266 267 268 269 270 271 272
Next ›   Last »