Fix multiple definition of template specialization.
Merge pull request #11 from bchretien/master

Fix multiple definition of template specialization in cached-function