Subject: [Boost-bugs] [Boost C++ Libraries] #9286: signals2 compile error with MSVC12 and variadic templates
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-22 07:43:56
#9286: signals2 compile error with MSVC12 and variadic templates
-------------------------------------+----------------------
Reporter: raad@⦠| Owner: fmhess
Type: Patches | Status: new
Milestone: To Be Determined | Component: signals2
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------+----------------------
With variadic templates enabled, the following code doesn't compile with
Microsoft Visual C++ 12 (2013):
boost::signals2::signal<void (const std::wstring &, int)> someSignal;
someSignal.connect(boost::bind(&SomeMemberFunction, this, _1, _2));
Making the variadic constructor explicit fixes the issue. Patch for
variadic_slot.hpp (against trunk r86387) attached.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9286> 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