Boost C++ Libraries: Ticket #9130: Boost Fusion parameter pack error in VS 2013 RC https://svn.boost.org/trac10/ticket/9130 <p> </p> <blockquote> <p> fusion::map does not compile in VS 2013 RC. </p> </blockquote> <blockquote> <p> If gives these errors: </p> </blockquote> <p> error C3520: 'T' : parameter pack must be expanded in this context c:\depo\common\third_party\boost\boost\fusion\container\generation\make_cons.hpp 39 error C3520: 'T' : parameter pack must be expanded in this context c:\depo\common\third_party\boost\boost\fusion\container\generation\detail\preprocessed\make_list10.hpp error C3520: 'T' : parameter pack must be expanded in this context c:\depo\common\third_party\boost\boost\fusion\container\generation\detail\preprocessed\make_vector10.hpp error C3520: 'T' : parameter pack must be expanded in this context c:\depo\common\third_party\boost\boost\fusion\container\generation\detail\preprocessed\make_set10.hpp </p> <p> Here is the complete template callstack for one of them(it is not very helpful sorry). </p> <p> c:\depo\common\third_party\boost\boost\fusion\container\generation\detail\preprocessed\make_list10.hpp(35): error C3520: 'T' : parameter pack must be expanded in this context 1&gt; c:\depo\common\third_party\boost\boost\fusion\container\generation\detail\preprocessed\make_list10.hpp(36) : see reference to class template instantiation 'boost::fusion::result_of::make_list&lt;T0,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_&gt;' being compiled </p> <blockquote> <p> The example I am posting gives 66 of these errors. </p> </blockquote> <blockquote> <p> Here is a minimal repro test. </p> </blockquote> <p> #include &lt;boost/fusion/container.hpp&gt; #include &lt;boost/fusion/algorithm.hpp&gt; #include &lt;boost/fusion/include/algorithm.hpp&gt; #include &lt;boost/fusion/sequence.hpp&gt; #include &lt;boost/fusion/include/sequence.hpp&gt; #include &lt;boost/fusion/support/pair.hpp&gt; #include &lt;boost/fusion/include/pair.hpp&gt; </p> <p> namespace fs = boost::fusion; </p> <p> namespace Key { </p> <blockquote> <p> struct prep_table{}; struct draw_single{}; </p> </blockquote> <p> }; </p> <p> int main() { </p> <blockquote> <p> fs::map&lt;std::pair&lt;Key::prep_table, float&gt;, std::pair&lt;Key::draw_single, int&gt;&gt; Blah; </p> </blockquote> <blockquote> <p> return 0; </p> </blockquote> <p> } </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9130 Trac 1.4.3 anonymous Wed, 18 Sep 2013 19:04:26 GMT <link>https://svn.boost.org/trac10/ticket/9130#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9130#comment:1</guid> <description> <blockquote> <p> This is using the SVN trunk btw. The official 1.54 doesn't build in VS 2013 RC, need trunk. </p> </blockquote> </description> <category>Ticket</category> </item> <item> <author>Kohei Takahashi <flast@…></author> <pubDate>Fri, 07 Nov 2014 04:38:15 GMT</pubDate> <title>cc set https://svn.boost.org/trac10/ticket/9130#comment:2 https://svn.boost.org/trac10/ticket/9130#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">flast@…</span> added </li> </ul> <p> Did you try with release version of VS2013 or Boost 1.57? </p> Ticket Kohei Takahashi <flast@…> Sun, 30 Nov 2014 06:17:15 GMT <link>https://svn.boost.org/trac10/ticket/9130#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9130#comment:3</guid> <description> <p> I could't confirm this problem with VS2013 Update4 and develop branch. So, we can close this one. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Sun, 30 Nov 2014 06:18:17 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9130#comment:4 https://svn.boost.org/trac10/ticket/9130#comment:4 <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">worksforme</span> </li> </ul> Ticket