Boost C++ Libraries: Ticket #7075: Workaround for error: the type of partial specialization template parameter constant "n1" depends on another template parameter https://svn.boost.org/trac10/ticket/7075 <p> Compiling a file.cpp with just 1 line: </p> <pre class="wiki">#include &lt;boost/chrono/time_point.hpp&gt; </pre><p> with a TI compiler fails with </p> <pre class="wiki">error: the type of partial specialization template parameter constant "n1" depends on another template parameter </pre><p> and similar errors in files: ratio/detail/mpl/gcd.hpp and lcm.hpp. </p> <p> Proposed workaround: mpl has a file mpl/aux_/config/dependent_nttp.hpp, which correctly #defines BOOST_MPL_CFG_NO_DEPENDENT_NONTYPE_PARAMETER_IN_PARTIAL_SPEC for this compiler. However, I couldn't find any place in boost, where this macro would be used. </p> <p> I've prepared a patch, that uses this macro to conditionally work around this problem. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7075 Trac 1.4.3 1czajnik@… Wed, 04 Jul 2012 09:56:43 GMT attachment set https://svn.boost.org/trac10/ticket/7075 https://svn.boost.org/trac10/ticket/7075 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">7075.patch</span> </li> </ul> Ticket viboes Wed, 04 Jul 2012 21:02:54 GMT status, milestone changed https://svn.boost.org/trac10/ticket/7075#comment:1 https://svn.boost.org/trac10/ticket/7075#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.51.0</span> </li> </ul> <p> Committed in trunk revision 79267. </p> Ticket viboes Sun, 08 Jul 2012 19:58:11 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7075#comment:2 https://svn.boost.org/trac10/ticket/7075#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</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/79367" title="Ratio: mergre from trunk: fixes #7075">[79367]</a>) Ratio: mergre from trunk: fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7075" title="#7075: Bugs: Workaround for error: the type of partial specialization template ... (closed: fixed)">#7075</a> </p> Ticket