Re: [Boost-bugs] [Boost C++ Libraries] #9338: VS2005 compiler errors in swap() definition after including container/memory_util.hpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9338: VS2005 compiler errors in swap() definition after including container/memory_util.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-15 08:22:39


#9338: VS2005 compiler errors in swap() definition after including
container/memory_util.hpp
----------------------------------------+------------------------
  Reporter: Fedor Trushkin <ted-xp@…> | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: container
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------+------------------------

Comment (by Göran Orsander <goran.orsander.lw@…>):

 You get the same problem with VS2008 for both boost 1.54.0 and 1.55.0

 I use <boost/container/string.hpp> and it will include both
 <container/detail/memory_util.hpp> and <intrusive/detail/memory_util.hpp>

 Another third party library I use also defines 'swap' in the global
 namespace. This is quite a headache since I cannot modify the code in
 either boost or the other third party library.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9338#comment:1>
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:14 UTC