Search

March 02, 2008
General »
...too hard to do fixed point arithmetic:

typedef int Fixed;
Fixed fixed(int m, int...
February 21, 2008
Issues »
...an example:

template<class T> struct Bar
{
    typedef T a;
};

template<class T> void foo...
February 20, 2008
Learn »
...Although by default, REAL is probably a typedef for double.

 And lp_solve is actually...
February 20, 2008
Issues »
...ARG_TYPES...)(ARG_TYPES args)
  {
return null;
  }
}



typedef char[] IDENT;



int main()
{
writefln("f");

  auto...
February 20, 2008
General »
...the equivalent in C++ of

class _C {};
typedef _C& C;

But in D there is...
February 18, 2008
General »
...next update. The rule is that a typedef can be implicitly converted to/from invariant...
February 17, 2008
General »
...is a primitive type
    T is a typedef for a pod
    T is a struct...
February 17, 2008
General »
These two are fine. A typedef should work like the original type. I'm curious...
February 17, 2008
General »
...mychar is just a typedef for char. Changing mychar from a typedef to a struct...
February 14, 2008
Issues »
...hello world";
    char c = s[0]; // OK

    typedef char mychar;
    alias invariant(mychar)[] mystring;

    mystring...
218 219 220 221 222 223 224 225 226 227 228
Next ›   Last »