Boost C++ Libraries: Ticket #6177: increase BOOST_PARAMETER_MAX_ARITY https://svn.boost.org/trac10/ticket/6177 <p> i've been using boost.parameter extensively with boost.heap and now came to a point, that i need to raise BOOST_PARAMETER_MAX_ARITY to at least 7 in order to be able to compile it. </p> <p> i am planning to merge boost.heap into trunk in the next few days, so i wonder, would it be reasonable to increase the default of this value to e.g. 8 (patch attached)? currently, boost.heap defines BOOST_PARAMETER_MAX_ARITY before including boost/parameter.hpp, but this will break, if boost/parameter.hpp is included before the boost.heap headers. </p> <p> it would be great, if the default would be high enough to compile all boost libraries, or could this cause any issues? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6177 Trac 1.4.3 anonymous Sun, 27 Nov 2011 20:14:57 GMT attachment set https://svn.boost.org/trac10/ticket/6177 https://svn.boost.org/trac10/ticket/6177 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_parameter.patch</span> </li> </ul> Ticket tim Sun, 27 Nov 2011 20:15:46 GMT summary changed https://svn.boost.org/trac10/ticket/6177#comment:1 https://svn.boost.org/trac10/ticket/6177#comment:1 <ul> <li><strong>summary</strong> <span class="trac-field-old">increase BOOST_PARAMETER_MAX_ARITY From: Tim Blechmann &lt;tim@klingt.org&gt;</span> → <span class="trac-field-new">increase BOOST_PARAMETER_MAX_ARITY</span> </li> </ul> Ticket tim@… Sun, 27 Nov 2011 20:16:45 GMT cc set https://svn.boost.org/trac10/ticket/6177#comment:2 https://svn.boost.org/trac10/ticket/6177#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">tim@…</span> added </li> </ul> Ticket Dave Abrahams Fri, 02 Dec 2011 16:28:11 GMT <link>https://svn.boost.org/trac10/ticket/6177#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6177#comment:3</guid> <description> <p> Please run some tests to see how increasing the arity affects compilation time, say, for the parameter lib tests. If the effect is negligible please go ahead and apply the patch. </p> <p> Thanks </p> </description> <category>Ticket</category> </item> <item> <author>tim@…</author> <pubDate>Sun, 04 Dec 2011 15:26:49 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6177#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6177#comment:4</guid> <description> <p> compiling compile time for libs/parameter/test/basics.cpp hardly changes between values of 5 and 8. with an arity of 32 or 64, compile time increases drastically. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Dave Abrahams</dc:creator> <pubDate>Sun, 04 Dec 2011 16:02:46 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6177#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6177#comment:5</guid> <description> <p> Then you have my blessing (but I don't have time to do it myself right now). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>timblechmann</dc:creator> <pubDate>Mon, 05 Dec 2011 09:57:24 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6177#comment:6 https://svn.boost.org/trac10/ticket/6177#comment:6 <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> patch applied </p> Ticket