Is this a bug in g++ c++14 support?

Viewed 207

It seems that with auto parameters g++ just uses first auto it encounters. Is this a bug?

auto f(std::vector<auto> a)
{
    a.push_back('0');
    return std::string("");
}

http://ideone.com/T69ytm

1 Answers
Related