Search

October 15, 2008
General »
...a "typedef block" where you can introduce metatypes and give them constraints.

For constness:

typedef...
October 14, 2008
General »
...typedef, only the outer type has a typedef.  What you need is a 'deep' typedef...
October 14, 2008
General »
...it in the case of mutable argument? typedef surrogate as mutable type?

In all three...
October 14, 2008
Issues »
...yandex.ru  2008-10-14 03:34 -------
typedef as subtype of const(char)[] just "inherits...
October 13, 2008
General »
...in a different post.

I think the typedef-based approach could work (and be that...
October 13, 2008
Issues »
...2416

           Summary: Slice of typedef'ed array should preserve the typedef'ed
                    type
           Product: D...
October 13, 2008
General »
...is by substituting Tk with a typedef for it:

typedef Tk __Surrogate;
typeof(expression_involving...
October 13, 2008
General »
...of the type they are based on?

typedef int Bar;

typeof(s) foo(Bar s...
October 12, 2008
General »
...to make the same with struct, union, typedef etc. etc.

Not an equivalent. You allows...
October 12, 2008
General »
...that's why I prefer to use typedef/alias.

When I write code I want...
209 210 211 212 213 214 215 216 217 218 219
Next ›   Last »