|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-03-30 08:45:23
"Thorsten Ottosen" <nesotto_at_[hidden]> writes:
> | BTW shouldn't it be
> |
> | using boost::begin;
> | begin(r);
>
> yes!
>
> its irritating especially for boost authors because it dosn't wok
> portable; putting the code into boost::begin()
> solves that once and for all.
What portability issue are you referring to? On what compilers is
there a portability problem?
I should note that old compilers like vc6 and vc7 don't support ADL
for regular functions (just operators), so our approach, which puts
the code into boost::begin(), doesn't work on those compilers anyway.
Not that I care too much about them, but when someone cites
portability issues, they're the usual culprits ;-)
-- 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