concept alternative in category c++

appears as: n alternative, An alternative
Functional Programming in C++

This is an excerpt from Manning's book Functional Programming in C++.

As an alternative to auto, which uses the template argument type deduction rules for the resulting type, it’s also possible to use decltype(auto) as the return type specification. In that case, the function return type will be decltype of the returned expression:

An alternative to using std::bind is to use lambdas for partial function application. Lambdas are a core-language feature, which means the compiler can optimize them more easily. The syntax will be a bit more verbose, but it’ll allow the compiler more freedom to optimize the code.