
I implemented an ExpireLRUCache class, which will clear the data when it's times out. There are two ways to achieve this.
Use a timer to clear the expire data
Call the clean function in Add and Get
If I use a strut in class, and it use the template typename, how to deal with this?
I put the dec...