Re: [Boost-bugs] [Boost C++ Libraries] #9529: Boost.Signals2 VS2013 compile failure

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9529: Boost.Signals2 VS2013 compile failure
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-30 17:37:07


#9529: Boost.Signals2 VS2013 compile failure
--------------------------------------+----------------------
  Reporter: dani@… | Owner: fmhess
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: signals2
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords: VS2013
--------------------------------------+----------------------

Comment (by fmhess):

 I'm not keen on applying your fix as-is for two reasons:
 * By changing the macros, you are causing the now internal slot_impl class
 to be exposed in the library's interface at several places
 * Since msvc12 is able to compile very similar code without problems, it
 seems likely there is a much simpler workaround. It is able to compile
 the slot class you added in your patch, which does the same defaulting of
 the SlotFunction template parameter as the forward declaration it chokes
 on, the only apparent difference being it does the defaulting in the
 template class definition instead of a forward declaration. It is also
 able to compile the forward declaration with defaulted SlotFunction
 parameter for the non-variadic slotN templates.

 I'll try installing visual studio 2013 express sometime later this week,
 to try playing around with it more.

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