elshize / irkit

Information Retrieval tools intended for academic research.
https://elshize.github.io/irkit/
MIT License
6 stars 2 forks source link

Index source should be stored in shared_ptr #56

Open elshize opened 5 years ago

elshize commented 5 years ago

This needs to be further thought through, but I think shared_ptr is a better way to manage object's lifetime.

Alternative: can it be done with a move semantics? Should it?