c++11: C++: no matching function for call: why is an empty