Search

July 19, 2011
Issues »
...files with these contents.

File: test.c

typedef struct
{
    float r,g,b,a;
} COLOR...
July 19, 2011
Learn »
...that the function could not be
found.

typedef void (*PFGMO)(int*);

void main(int argc...
July 16, 2011
General »
...surely not doing it right:

Original C: typedef struct { int foo; } Bar;
I tried:    struct...
July 11, 2011
Learn »
...gmx.com> wrote:

Basically, four types of typedef were outlined:

Supertype!T - You may pass...
July 10, 2011
General »
...shouldn't be a problem as a typedef can be implicitly converted to its underlying...
July 10, 2011
Learn »
...what would be required to get a TypeDef template working properly though. I don't...
July 10, 2011
Learn »
...wrote:

So then the idea of creating typedef as has been described before (and as...
July 10, 2011
Learn »
...it, which opImplicitCastTo/From would not be.

For a typedef template, that's unacceptable.

-- 
  Simen
July 10, 2011
Issues »
...6819
//static if(is(typeof(X5.init))) {}
//typedef Y X5;

// Compiles without error
//static if...
July 10, 2011
Learn »
...trying to create templates that do what
typedef should - create a supertype, subtype, or lateral...
147 148 149 150 151 152 153 154 155 156 157
Next ›   Last »