[Boost-bugs] [Boost C++ Libraries] #10662: Simple signal fails to compile using clang with -std=c++11

Subject: [Boost-bugs] [Boost C++ Libraries] #10662: Simple signal fails to compile using clang with -std=c++11
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-15 20:28:45


#10662: Simple signal fails to compile using clang with -std=c++11
------------------------------+----------------------
 Reporter: beeblebrox42@… | Owner: fmhess
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: signals2
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
------------------------------+----------------------
 This test case fails to build using clang 3.0 and boost 1.55:
 {{{#!c++
 #include <boost/signals2/signal.hpp>

   int main()
   {
     boost::signals2::signal<void()> s;
     s();
   }
 }}}

 Error:
 {{{
 In file included from scratch.cpp:1:
 In file included from /usr/include/boost/signals2/signal.hpp:38:
 In file included from /usr/include/boost/signals2/variadic_signal.hpp:21:
 /usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:81:18: error:
 call
       to member function 'm_invoke' is ambiguous
           return m_invoke(resolver, func, indices_type(), args);
                  ^~~~~~~~
 }}}

 This is the same test case as #8260 which was marked a duplicate of #8102
 and fixed in 1.54. Note that this test case results in a different error
 in 1.55.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10662>
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:17 UTC