Search

October 05, 2006
Learn »
Markus Dangl wrote:

If your approach would be possible, then also recursive types as formal...
October 05, 2006
Learn »
...did for a function


IIRC this works

=typedef void* function() State;
=State foo() { return cast...
October 05, 2006
Learn »
...trying to write a function like that:

typedef ParseFn function(char[] s) ParseFn;

i.E...
October 04, 2006
General »
...ClassT>
  class _SlotCaller0 : public _SlotCaller<ClassT>
  {
  protected:    typedef void (ClassT::*MethT)();
    MethT mMeth; friend DynSigSlot...
October 01, 2006
General »
...using char[] seems perfectly natural. I tried typedef'ing char* to string now and then...
September 29, 2006
General »
...the char as is and define a typedef struct or whatever that provides the added...
September 29, 2006
Issues »
test case:
http://dstress.kuehne.cn/run/t/typedef_07_B.d

Thomas

September 29, 2006
Issues »
...run/t/typedef_20_A.d http://dstress.kuehne.cn/run/t/typedef_20_B...
September 28, 2006
Issues »
...about this code?

--- bug.d ---
Foofunc f;
typedef int Foo;
alias int function(Foo) Foofunc...
September 27, 2006
Learn »
...0;
##############

...is identical to this...

##############
typedef struct
{
   int x;
} Foo;

typedef struct
{
   Foo foo;
} MyStruct...
256 257 258 259 260 261 262 263 264 265 266
Next ›   Last »