Boost logo

Boost :

Subject: Re: [boost] New libraries implementing C++11 features in C++03
From: Eric Niebler (eric_at_[hidden])
Date: 2011-12-17 00:57:09


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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk