Boost logo

Boost :

From: Richard Corden (richard.corden_at_[hidden])
Date: 2006-03-22 07:06:34

Markus Schöpflin wrote:
> Richard Corden wrote:
> [...]
>>Can I ask what is the purpose of adding parenthesis to the qualified name?
>>ADL should not take place for the qualified name? Do some compilers get
>>this wrong?
>>Is there another reason?
> See

The guidelines actually confused me a little. The first bullet for
calling min or max has:

If you want to call std::min() or std::max():

     * If you do not require argument-dependent look-up, use

I got caught up in the ADL part and didn't realise that the parenthesis
were there to stop macro expansion not to stop ADL.



Boost list run by bdawes at, gregod at, cpdaniel at, john at