Top "Return-type-deduction" questions

Return-type deduction is a C++11 feature for lambda expressions and trailing return-types, that also applies to normal functions in C++14.

What are some uses of decltype(auto)?

In c++14 the decltype(auto) idiom is introduced. Typically its use is to allow auto declarations to use the decltype …

c++ auto c++14 decltype return-type-deduction
When should I use C++14 automatic return type deduction?

With GCC 4.8.0 released, we have a compiler that supports automatic return type deduction, part of C++14. With -std=c++1y, …

c++ c++14 return-type-deduction