Aşağıdaki üye işlevi prototipi C++ 11'de nasıl yorumlanmalıdır? class C {
public:
auto f(...) -> T const;
}
O Yapabileceğimi biliyorum sınıf C const üye işlev veya tür T. bir const değerini d
int main()
{
auto l = [x = 10]() -> decltype(x) {};
}
clang++ 4.0 rejects this code arka lambda nesneleri: aşağıdaki hata ile error: use of undeclared identifier 'x'
auto l = [x = 10]()