Search

August 13, 2008
General »
...to be storable in different containers:

typedef EventOneListener IntrusiveContainerNode;
typedef EventTwoListener IntrusiveContainerNode;

class MyClass : EventOneListener...
August 09, 2008
Announce »
...stdio.h"
#include "time.h"

#define MYOP *
typedef int T;
#define TFORM "%d "

void error...
July 31, 2008
Learn »
...pure virtual") method
};

// Alias the pointer type.
typedef void (C::* ptr_t)();

void f(C...
July 29, 2008
Learn »
...instance of the class.
Something like this:

typedef GetClass!(Cls.k) classType;
assert(is(typeof...
July 25, 2008
General »
...appears that it does from WinNT.h :

typedef struct _RTL_CRITICAL_SECTION {
   PRTL_CRITICAL_SECTION...
July 23, 2008
General »
...another generator you need to define a typedef, I leave more freedom, one can (and...
July 20, 2008
Learn »
...In fact string is an alias (kindof typedef in C++) to invariant(char)[], i.e...
July 18, 2008
GDC »
...kernel is loaded at 0xFFFFC800 address and

typedef struct ARM_HIGH {

    ...
    char    kStack[0x800];      // 0xFFFFC000...
July 14, 2008
Learn »
...structs.

Basically, the idea is that you typedef double y_parameter; then y_parameter y...
July 13, 2008
General »
...int member;
|     public static int static_member;
| }
|
| typedef MyClass MyTypedef;
|
| int main (char[][] args)
| {
|     auto...
212 213 214 215 216 217 218 219 220 221 222
Next ›   Last »