Boost C++ Libraries: Ticket #8102: signals2 is trying to use std::get with boost::tuple https://svn.boost.org/trac10/ticket/8102 <p> <code>signals2/detail/variadic_slot_invoker.hpp</code> has the following: </p> <pre class="wiki">// if compiler has std::tuple use it instead of boost::tuple // because boost::tuple does not have variadic template support at present. #ifdef BOOST_NO_CXX11_HDR_TUPLE #include &lt;boost/tuple/tuple.hpp&gt; #define BOOST_SIGNALS2_TUPLE boost::tuple #else #include &lt;tuple&gt; #define BOOST_SIGNALS2_TUPLE std::tuple #endif </pre><p> Then in place of <code>boost::tuple</code> or <code>std::tuple</code>, it uses <code>BOOST_SIGNALS2_TUPLE</code>. That's dandy, but it unconditionally uses <code>std::get</code> to access elements from the tuple. This naturally leads to compile failures because <code>std::get</code> doesn't know what a <code>boost::tuple</code> is. </p> <p> Patch attached. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8102 Trac 1.4.3 Eric Niebler Tue, 19 Feb 2013 07:25:50 GMT attachment set https://svn.boost.org/trac10/ticket/8102 https://svn.boost.org/trac10/ticket/8102 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">std-tuple-get.patch</span> </li> </ul> <p> replace std::get with boost::get when &lt;tuple&gt; is not available. </p> Ticket Frank Mori Hess Wed, 20 Feb 2013 01:21:03 GMT <link>https://svn.boost.org/trac10/ticket/8102#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8102#comment:1</guid> <description> <p> Committed patch to trunk in revision 83041. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Frank Mori Hess</dc:creator> <pubDate>Sat, 23 Feb 2013 17:04:05 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8102#comment:2 https://svn.boost.org/trac10/ticket/8102#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/83102" title="Merged from trunk. Closes #8102. Closes #8103. Closes #8115. ">[83102]</a>) Merged from trunk. Closes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8102" title="#8102: Bugs: signals2 is trying to use std::get with boost::tuple (closed: fixed)">#8102</a>. Closes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8103" title="#8103: Bugs: signals2 tests borked (closed: fixed)">#8103</a>. Closes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8115" title="#8115: Bugs: remove outdated workaround for formerly lacking ... (closed: fixed)">#8115</a>. </p> Ticket