Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-07-27 18:24:07


"Eric Niebler" <eric_at_[hidden]> wrote in message news:4106A244.2020800_at_boost-consulting.com...
|
| Thorsten Ottosen wrote:
| > Dear All,
| >
| > I've put meself in a funny situation. I have a class with an begin() end() members, but I wan't to call boost::begin()
boost::end()
| > without the boost:: prefix so ADL is functional. Can that be done?
| >
|
| At the point of use, bring boost::begin and boost::end into local scope
| with using declarations. That should hide the versions in class scope.

ok, and how do you do that in an initializer list? :-)

-Thorsten


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