Constrained Templates
BCS
none at anon.com
Sun Jun 13 17:50:33 PDT 2010
Hello Nick,
> "Walter Bright" <newshound1 at digitalmars.com> wrote in message
> news:hv39tt$87s$1 at digitalmars.com...
>
>> http://www.drdobbs.com/blog/archives/2010/06/constrained_tem.html
>>
>> Anyone want to do the honors and post to reddit, ycombinator, etc. ?
>>
> "and a line number pointing into the template body. The error is being
> reported as occurring somewhere other than where the actual problem
> is"
>
> That would be a good place to point out that recent versions of DMD
> display template instantiation traces upon template instatiation
> errors (Does C++ do that?).
I think GCC does. But IIRC it ends up being an almost unreadable one.
> -------------------------------
> Not sent from an iPhone.
--
... <IXOYE><
More information about the Digitalmars-d
mailing list