Nathan Sidwell <nat...@acm.org> wrote:

On 4/22/20 8:48 AM, Iain Sandoe wrote:
Hi,
There is no PR for this, at present, but the implementation of
clang and GCC's handling of lambda capture object implicit parms
is currently different.  There is still some discussion about
'correct' interpretation of the standard - but in the short-term
it is probably best to have consistent implementations - even if
those subsequently turn out to be 'consistently wrong'.

Agreed, the std is at best ambigiuous in this area, we should aim for implementation agreement.

following more discussion amongst WG21 members, it appears that there is still some confusion over the status of other implementations, and it may well be that clang will be updated to follow the pattern that GCC is currently implementing.

In light of this, perhaps it’s best to withdraw this patch for now.

Iain

Reply via email to