#include <vector>

void f(std::vector<double> v);

template <class T>
void g(T&& t)
{
  f(t);
}

int m()
{
  f({1, 2}); // that's OK
  g({1, 2}); // that's not
}
