$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [scope_exit] can MSVC lambdas capture data members?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-03-16 11:25:49
On 16/03/12 03:42, Alexander Nasonov wrote:
> If we assume that the new standard is immutable, then you reasoning
> makes perfect sense. However, what if it was an oversight by the
> standard committee? 'this' is not a local variable, after all. If they
> allowed a special case for this, they could also allow data members.
It is not an oversight, and is this way on purpose.