Re: [Boost-bugs] [Boost C++ Libraries] #2839: move-emulated swap causes overloaded ambiguous fun call

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2839: move-emulated swap causes overloaded ambiguous fun call
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-02 10:13:13


#2839: move-emulated swap causes overloaded ambiguous fun call
---------------------------+------------------------------------------------
  Reporter: st_at_[hidden] | Owner: ebf
      Type: Bugs | Status: new
 Milestone: Boost 1.39.0 | Component: variant
   Version: Boost 1.38.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+------------------------------------------------

Comment(by Joseph.Gauterin):

 We solved a similar problem in Boost.Swap by providing a templated
 swap with two template arguments [making it less specialized than
 std::swap].
 I've had a quick look at variant/detail/move.hpp and I
 think it can be fixed in the same way.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2839#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC