BohdanYehorov wrote:

For lambda by reference in block `decltype((x))` returns a reference to a 
constant type, but for block in lambda by reference it returns a reference to a 
non-constant type. I tested `decltype((x))` result for a captured references in 
block: it returns a reference to a non-constant type.

https://github.com/llvm/llvm-project/pull/207583
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to