Search

January 15, 2007
Learn »
...float getValue() { return value; }
	
private:
  float value;
}

typedef A B;

void main() {
  B b = new...
January 12, 2007
c++.stlsoft »
...in preprocessed output:

Error occurs here:
        do { typedef int ai[(sizeof(ss_int32_t) == 4...
January 10, 2007
Learn »
...T.sizeof))[0 .. elements];
#    }
# }
#
# import std.stdio;
# typedef int X = 12_34_56_78;
#
# void...
January 10, 2007
Learn »
And read the next few sections too.
For example, nobody has yet mentioned that alias...
January 10, 2007
Learn »
...clear:
http://www.digitalmars.com/d/declaration.html#typedef

Have you read that yet?

--bb
January 10, 2007
Learn »
...function overloading, for instance:

alias int IntAlias;
typedef int IntTypedef;

void foo(int i) { }      // #1...
January 10, 2007
Learn »
...to know the differences between 'alias' and 'typedef' as both do the same thing.

Thanks
January 09, 2007
Learn »
...sampel?

Tested on Linux:
# import std.stdio;
#
# typedef int X = 12_34_56_78;
#
# void...
January 09, 2007
Learn »
...INTEGER);
  2:
    (e3: REAL);
  END;


C/C++

typedef union {
  struct {
    int e1;
    int e2;
  } v1...
January 08, 2007
General »
...DMC.

Inside winnt.h add the following:
typedef enum _HEAP_INFORMATION_CLASS {
	HeapCompatibilityInformation
} HEAP_INFORMATION...
248 249 250 251 252 253 254 255 256 257 258
Next ›   Last »