NotNull struct & test

Code



Compilation output:

/d828/f299.d(90): Error: template object.clear cannot deduce function from argument types !()(Foo), candidates are: /opt/compilers/dmd2/include/object.d(1887): object.clear(T : Value[Key], Value, Key)(T aa) /opt/compilers/dmd2/include/object.d(1892): object.clear(T : Value[Key], Value, Key)(T* aa) /d828/f299.d(136): Error: template object.clear cannot deduce function from argument types !()(Foo), candidates are: /opt/compilers/dmd2/include/object.d(1887): object.clear(T : Value[Key], Value, Key)(T aa) /opt/compilers/dmd2/include/object.d(1892): object.clear(T : Value[Key], Value, Key)(T* aa) /d828/f299.d(158): Error: template instance f299.not_null!(Foo) error instantiating

Paste info


Author: Namespace
Views: 1866
Private: no
Expires: Never
Uploaded: 28.07.12 19:48
Votes: 0

Compilation


Compiler: DMD 2.072.1 ( 2.072.1 )
Pointer size: m64

Actions