Boost C++ Libraries: Ticket #8413: BOOST_PP_SEQ_SIZE https://svn.boost.org/trac10/ticket/8413 <p> I needed to use a sequence ( var1a , var1b )( var2a , var2b ) </p> <p> BOOST_PP_SEQ_SIZE would give incorrect number of parameters </p> <p> I changed all the BOOST_PP_SEQ_SIZE_xxx definitations from BOOST_PP_SEQ_SIZE_0( _ ) to </p> <p> #define BOOST_PP_SEQ_SIZE_0( ... ) BOOST_PP_SEQ_SIZE_1 </p> <p> solved the problem and makes the sequences more usefull. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8413 Trac 1.4.3 viboes Sun, 07 Apr 2013 18:29:37 GMT component changed; owner set https://svn.boost.org/trac10/ticket/8413#comment:1 https://svn.boost.org/trac10/ticket/8413#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">No-Maintainer</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">preprocessor</span> </li> </ul> Ticket Edward Diener Sun, 17 May 2015 02:42:16 GMT <link>https://svn.boost.org/trac10/ticket/8413#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8413#comment:2</guid> <description> <p> The notation: </p> <pre class="wiki">( var1a , var1b )( var2a , var2b ) </pre><p> is not a Boost PP sequence. Each element of a Boost PP sequence must be a single-element tuple. </p> <p> Therefore applying BOOST_PP_SEQ_SIZE to such syntax is undefined behavior. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Edward Diener</dc:creator> <pubDate>Sun, 17 May 2015 02:42:32 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8413#comment:3 https://svn.boost.org/trac10/ticket/8413#comment:3 <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> Ticket