i have this function that finding key in map and return the right value with type
template< typename T > T Foo::findInMap(std::string key) { std::map<