January 26, 2012 General » Re: strong enums: why implicit conversion to basetype? | |||
|---|---|---|---|
| |||
...wrote: Yes. Otherwise it would be at least close to equivalence to a `typedef'. -manfred | |||
January 26, 2012 General » Re: using enums for flags | |||
|---|---|---|---|
| |||
...you want? You could typedef it I suppose (well, use the TypeDef library type when... | |||
January 24, 2012 General » Re: typedef, why did it go? Is there anything instead? | |||
|---|---|---|---|
| |||
While this is D1 I think it applies to D2 as well. Classes can be... | |||
January 24, 2012 General » Re: typedef, why did it go? Is there anything instead? | |||
|---|---|---|---|
| |||
That's a pain in the ass for library users. For example, Goldie uses a... | |||
January 23, 2012 Issues » [Issue 3807] typedef still listed as keyword, but not present anywhere in grammar | |||
|---|---|---|---|
| |||
http://d.puremagic.com/issues/show_bug.cgi?id=3807 Walter Bright <bugzilla@digitalmars.com... | |||
January 23, 2012 General » Re: typedef, why did it go? Is there anything instead? | |||
|---|---|---|---|
| |||
I usually want the aliased type. I can look up what the alias is, but... | |||
January 23, 2012 General » Re: typedef, why did it go? Is there anything instead? | |||
|---|---|---|---|
| |||
Walter: Both are useful to know for the programmer. See in this enhancement request of... | |||
January 23, 2012 General » Re: typedef, why did it go? Is there anything instead? | |||
|---|---|---|---|
| |||
I don't really have an opinion on it, except that generally when I'm... | |||
January 23, 2012 General » Re: typedef, why did it go? Is there anything instead? | |||
|---|---|---|---|
| |||
+1 Walter, what are your views on emitting the names of aliased types to debug... | |||
January 23, 2012 General » Re: typedef, why did it go? Is there anything instead? | |||
|---|---|---|---|
| |||
...t it be easier to make the typedef a Phobos solution and end this debate... | |||
Copyright © 1999-2021 by the D Language Foundation