NotNull struct & test

Code



Compilation output:

/d333/f133.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) /d333/f133.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) /d333/f133.d(158): Error: template instance f133.not_null!(Foo) error instantiating

Paste info


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

Compilation


Compiler: DMD 2.071.1 ( 2.071.1 )
Pointer size: m64

Actions