
"Daniel James" <daniel@calamity.org.uk> wrote in message news:pan.2004.07.28.00.44.38.578992@calamity.org.uk... | On Wed, 28 Jul 2004 09:24:07 +1000, Thorsten Ottosen wrote: | | > "Eric Niebler" <eric@boost-consulting.com> wrote in message | > news:4106A244.2020800@boost-consulting.com... | > | | > | Thorsten Ottosen wrote: | > | > | > | > 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? :-) | | You put it into a separate function? yes, of course...doh. I wasn't thinking last night :-) | So, what's the flaw in the plan? nothing. Thanks! Thorsten