https://cppinsights.io/s/6f62be64 vs https://cppinsights.io/s/8b0c93a7 In the case where the decltype(v) is followed by &, the type does not get resolved. Is this wanted behaviour?