As far as I know, in standard C++11 (not C++14), when omitting the return type of a lambda, its return type is deduced to be:
Some C++14 rules are available in C++11 mode, when the compiler writers considered it too complicated to implement both rules at once.