How to use template Object in interface?

zoujiaqing zoujiaqing at gmail.com
Tue Jun 25 12:11:47 UTC 2019


hunt-cache current version use template implemention adapter 
changes.

I want use Interface to define Adapter, this master code unable 
to comple.

How to do it? D programming language design flaws?

```bash
git clone https://github.com/huntlabs/hunt-cache
cd hunt-cache/example
dub run -v

...

source/app.d(29,19): Error: no property name for type 
Nullable!(User)

```


More information about the Digitalmars-d-learn mailing list