template bug?
Koroskin Denis
2korden+dmd at gmail.com
Fri Feb 29 10:31:33 PST 2008
On Fri, 29 Feb 2008 18:15:18 +0300, Denton Cockburn <diboss at hotmail.com>
wrote:
>> [snip]
>
> D template parameters can be:
>
> * types
> * integral values
> * floating point values
> * string literals
> * templates
> * or any symbol
> http://www.digitalmars.com/d/2.0/templates-revisited.html
>
> I guess this is a bug.
>
I din't say a thing about (in)correctness of this code. In fact, I was
talking about C++!
However, you should use this feature with care :)
More information about the Digitalmars-d
mailing list