Boost logo

Boost :

Subject: Re: [boost] [Iterator][MultiIndex]iterator-specificpartition_point-relatedfunctions
From: Arno Schödl (aschoedl_at_[hidden])
Date: 2008-12-31 05:55:36


> Agree. You can make it look like it's in boost:: with a
> using-directive.
         ^^^^^^^^^

It works, thank you for teaching me C++! I found this in http://svn.boost.org/svn/boost/sandbox/swap/boost/utility/swap.hpp:

namespace boost
{
  namespace swap_adl_barrier
  {
    template<class T>
    void swap(T& left, T& right)
    {
      ::boost_swap_impl::swap_impl(left, right);
    }
  }

  using swap_adl_barrier::swap;
}

Wrong as well?

Arno

--
Dr. Arno Schoedl · aschoedl_at_[hidden] 
Technical Director 
 
think-cell Software GmbH · Invalidenstr. 34 · 10115 Berlin, Germany 
http://www.think-cell.com · phone +49-30-666473-10 · toll-free (US) +1-800-891-8091
Directors: Dr. Markus Hannebauer, Dr. Arno Schoedl · Amtsgericht Charlottenburg, HRB 85229

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