The header comment says "In the case the passed version is boost::none, nothing will be done.", but in the implementation if the passed version is boost::none, we call _databaseCache.invalidate().