Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-04-04 16:55:48


Richard Corden <richard.corden_at_[hidden]> writes:

> 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?

The reason is

    #define max(a,b) ((a)>(b)?(a):(b))

:)

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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