In a lambda, yes.
A lambda expression can use auto as a function parameter type in C++14.
From the Microsoft Developer Network Lambada Expressions C++
In C++ 14, if the parameter type is generic, you can use the auto keyword as the type specifier. This tells the compiler to create the function call operator as a template. Each instance of auto in a parameter list is equivalent to a distinct type parameter.
auto y = [] (auto first, auto second)
{
return first + second;
};
In C++ 14, ISO C++ still forbids it as a general function parameter. The compiler will give you errors.
In short, you cannot use it in general functions. You may only use it in a lambda function.