[Issue 1597] It is not possible to specialize template on associative array.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 19 15:32:24 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1597





------- Comment #1 from aarti at interia.pl  2007-10-19 17:32 -------
Also syntax of matching for normal arrays is cryptic. It would be better to
have following syntax for matching arrays:
void parse(T : E[])() {} which is much more clear (match types which are
collections of elements of type E). Similarly some cleanups could be done in
is() expression for types.

proposed syntax for associative arrays:
void parse(T : V[K])() {}

Related proposal from Bill Baxter:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.learn&article_id=9858


-- 



More information about the Digitalmars-d-bugs mailing list