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-17 13:20:42


#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 igaztanaga):

 A workaround is to tweak
 "boost/intrusive/detail/has_member_function_callable_with.hpp" to support
 non-zero lower bound values. Until now, are traits are generated from 0 to
 N arguments, but many of them don't need 0 arguments. "swap" is one of
 them (we are looking for "T::swap(T&)", no "T::swap()"). This would also
 generate less preprocessed code.

 Other member names are likely to be less used in the global namespace than
 "swap", so let's see if this can at least minimize the compiler bug
 effects.

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