object.Error: Access Violation

"Мартыненко А.А." andrey.martynenko at usk.ilimgroup.ru
Tue Oct 4 17:49:04 PDT 2011



Hello, I have this code:

import std.stdio;
class TTest
{
    public void Info(T)(string name)
    {
       writeln(typeid(T), "\t", name);
    }
}
void main()
{
    TTest test;
    test.Info!(uint)("one");
}

When compiling no errors. But when I try to run a program there is an error:
object.Error: Access Violation
----------------
426348
4261BF
402023
404C5B
404857
455789
----------------




More information about the Digitalmars-d-learn mailing list