DMD 0.149 release

Tom S h3r3tic at remove.mat.uni.torun.pl
Tue Mar 7 16:02:54 PST 2006


Walter Bright wrote:
> The implicit function template instantiation is a bit limited at the moment, 
> deduction won't work for types derived from templates, and the mechanism to 
> pick the most specialized template doesn't work.

Does the fact that implicit instantiation doesn't work when the template 
is a member of a class also belong to the 'limitation' category ? The 
error messages are quite misleading: "Foo.bar is not a declaration" and 
"template moduleName.Foo.bar(T) templates don't have properties" if Foo 
is a struct instead.


-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d-pu s+: a-->----- C+++$>++++ UL P+ L+ E--- W++ N++ o? K? w++ !O 
!M V? PS- PE- Y PGP t 5 X? R tv-- b DI- D+ G e>+++ h>++ !r !y
------END GEEK CODE BLOCK------

Tomasz Stachowiak  /+ a.k.a. h3r3tic +/



More information about the Digitalmars-d-announce mailing list