template MyFunction(Map myMap) { int T::* member; //bool Map::Find(const KEY &key, T &data) const myMap.Find("key", member); }