Search

February 22, 2007
General »
...std.stdio;

struct Foo { }

enum Enum { RED }

typedef int myint;

void main()
{
    writefln((1+2...
February 21, 2007
General »
...need ... all for the sake of a typedef init?

Sure, we don't want such...
February 20, 2007
General »
...function overloading with enums (overloading with a typedef has the same issue, so maybe it...
February 17, 2007
General »
...0 = (/1);\n", A);
    const char[] def_ = "typedef "~T.stringof~" enum_t;\n"~def2_;
    mixin...
February 15, 2007
General »
...struct or on a type?
I.e:
typedef int foo;

char[] toString(foo x)
{
	return...
February 15, 2007
General »
...be closed by using is(T Base == typedef) and inspecting Base recursively if it evaluates...
February 13, 2007
Announce »
...the following:

	alias Foo.Bar.Abc T;
	typedef int Abc;
	const char[] s = T.stringof...
February 12, 2007
General »
...of another. Altough in this case of typedef and enums I think they could be...
February 12, 2007
General »
...all, there is no "function ninja", no "typedef ninja", no "+ ninja". It's a sign...
February 11, 2007
General »
...www.digitalmars.com/d/type.html>:

"A typedef or enum can be implicitly converted to...
243 244 245 246 247 248 249 250 251 252 253
Next ›   Last »