Well that was stupid of me (feature request)
Bruno Medeiros
brunodomedeiros+spam at com.gmail
Tue Sep 11 03:08:24 PDT 2007
BCS wrote:
> I just came across a stupid little mistake I made that probably added a
> few dozen K to may app.
>
> template Foo(T)
> {
> int Bar()
> {
> struct Baz {int i; char j}
> Stack!(Baz) newton;
> }
> }
>
> struct Stack(T)
> {
> unittest
> {
> writef("%s\n", T.stringof);
> }
> }
>
That code does compile: it has syntax errors.
--
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
More information about the Digitalmars-d
mailing list