Comment #0 by Jesse.K.Phillips+D — 2014-05-28T02:37:57Z
The below code provides an incorrect error. It is not to claim that the code should or should not be an error.
auto lam = (cx = 3) { cx = 10; };
Error: cx is used as a type
This could create a lambda which takes an int, or it could error out with "cannot deduce type from default arguments"
This is similar to: #10491
Comment #1 by robert.schadek — 2024-12-13T18:21:08Z