1 2 3 4 5 6 7 8 9
#include <iostream> template<class T> void ignore (const T &) {} void f() { std::cout << std::endl; ignore(std::endl); }
1 2 3
In function 'void f()': Line 8: error: no matching function for call to 'ignore(<unresolved overloaded function type>)' compilation terminated due to -Wfatal-errors.