|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-09-15 10:02:48
David Abrahams <dave_at_[hidden]> writes:
>>> Are you really
>>> detecting whether range_begin can be found via ADL?
>>
>> No.
>
> Then how are you arranging for the semantics to fall back to x.begin()
> when range_begin(x) can't be found? If you're not really doing that,
> you need to fix the docs.
Duh; it's obvious -- you provide the default implementation of
begin(x) in boost.
Sorry 'bout that mental lapse :)
-- 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