bug166.cc:8: error: no matching function for call to `f'