
17 Dec
2011
17 Dec
'11
5:57 a.m.
On 12/16/2011 8:03 PM, Dave Abrahams wrote:
on Fri Nov 25 2011, Dean Michael Berris <mikhailberis-AT-gmail.com> wrote:
auto f = [](...) { /* whatever */ };
Some of the reasons are:
1) This messes up ADL and would lead to hard-to-find bugs.
I know it's late to ask, but... how does this "mess up ADL?"
Guessing at Dean's intent: if f is at namespace scope, it doesn't behave exactly like the equivalent function at namespace scope wrt ADL. -- Eric Niebler BoostPro Computing http://www.boostpro.com