Do you know what is the rational behind not allowing decltype to accept the result of a lambda calculation in the first place?
In general, it's impossible to determine the type of a lambda expression without evaluating it in the correct context. So, lamdbas are forbidden in unevaluated contexts, and decltype is one of such contexts.