https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121553

--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Alexander Monakov from comment #11)
> Is it really the same as CWG 2838? There's no default-init here, neither in
> the original Dolphin code nor in the small example supplied in comment #0.
> Clang rejects the variant with default-init, accepts without.

right the difference is init-capture vs simple-capture. This is a
simple-capture


https://eel.is/c++draft/expr.prim.lambda.capture#6 only talks about
init-captures.

Reply via email to