Search

December 19, 2006
Learn, General »
Yes, unfortunately it really is that DMD allows modifiers in many declarations where it does...
December 17, 2006
Learn »
...it.

Any suggestion?

(the same happens if "typedef" is used instead of "alias")

BTW, while...
December 17, 2006
General »
...the appropriate struct in a C header:

typedef struct
{
    unsigned char a : 2;
    unsigned char...
December 15, 2006
General »
...property for a typedef'ed or other user defined type. E.g.

   typedef int myint...
December 15, 2006
General »
...patch for variable template 'without' alias and typedef.

Test Code:
const int test(int x...
December 14, 2006
General »
...Alias is too closely connected to typedef, and typedef is too closely connected to C...
December 14, 2006
Learn »
...want to simply use an alias or typedef). Below is my basic class. With the...
December 14, 2006
General »
...char operation, LeftExpr, RightExpr, int dummy=0) {
    typedef int isExpr; // workaround because is() doesn't...
December 14, 2006
Learn »
...TODO: what if it's a struct, typedef, etc.?
		} else {
			bar[3] = T.init;
		}
	}
}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

BTW...
December 13, 2006
c++.beta »
...type nrv(x);
    --x;
    return nrv;
  }
private:
  typedef T decrementable_type;
};



int main( int , char...
250 251 252 253 254 255 256 257 258 259 260
Next ›   Last »