Boost C++ Libraries: Ticket #3820: MultiArray reference manual: please replace std::times by std::multiplies https://svn.boost.org/trac10/ticket/3820 <p> <a href="http://www.boost.org/doc/libs/1_41_0/libs/multi_array/doc/reference.html">http://www.boost.org/doc/libs/1_41_0/libs/multi_array/doc/reference.html</a> uses std::times to express the first precondition of <code>reshape</code>: </p> <pre class="wiki">std::accumulate(sizes.begin(),sizes.end(),size_type(1),std::times&lt;size_type&gt;()) == this-&gt;num_elements(); </pre><p> <code>std::times</code> is non-standard, please use <code>std::multiplies</code> instead. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3820 Trac 1.4.3 Jeremiah Willcock Tue, 08 Jun 2010 22:54:27 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3820#comment:1 https://svn.boost.org/trac10/ticket/3820#comment:1 <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/62606" title="Changed &#34;times&#34; to &#34;multiplies&#34; as per #3820; fixes #3820">[62606]</a>) Changed "times" to "multiplies" as per <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3820" title="#3820: Bugs: MultiArray reference manual: please replace std::times by std::multiplies (closed: fixed)">#3820</a>; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3820" title="#3820: Bugs: MultiArray reference manual: please replace std::times by std::multiplies (closed: fixed)">#3820</a> </p> Ticket Jeremiah Willcock Tue, 05 Oct 2010 18:25:41 GMT <link>https://svn.boost.org/trac10/ticket/3820#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3820#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/65771" title="Merged r46508 (bug fixes), r53790 (added test case), r62605 (fix for ...">[65771]</a>) Merged <a class="changeset" href="https://svn.boost.org/trac10/changeset/46508" title="fixed bugs. ">r46508</a> (bug fixes), <a class="changeset" href="https://svn.boost.org/trac10/changeset/53790" title="Added a test-case to check a reversing view of a 1D array. ">r53790</a> (added test case), <a class="changeset" href="https://svn.boost.org/trac10/changeset/62605" title="Fixed typo in doc example; fixes #3581">r62605</a> (fix for <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3581" title="#3581: Bugs: MultiArray storage order example incorrect for fortran_storage_ordering (closed: fixed)">#3581</a>), <a class="changeset" href="https://svn.boost.org/trac10/changeset/62606" title="Changed &#34;times&#34; to &#34;multiplies&#34; as per #3820; fixes #3820">r62606</a> (fix for <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3820" title="#3820: Bugs: MultiArray reference manual: please replace std::times by std::multiplies (closed: fixed)">#3820</a>), <a class="changeset" href="https://svn.boost.org/trac10/changeset/62607" title="Added missing typename; fixes #3989">r62607</a> (fix for <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3989" title="#3989: Bugs: Syntax error -- missing &#34;template&#34; keyword (closed: fixed)">#3989</a>), <a class="changeset" href="https://svn.boost.org/trac10/changeset/62609" title="Fixed missing header">r62609</a> (missing header), <a class="changeset" href="https://svn.boost.org/trac10/changeset/62963" title="Fixed an assertion error...resize needs to account for starting with ...">r62963</a> (non-Trac bug fixes) from trunk; refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3581" title="#3581: Bugs: MultiArray storage order example incorrect for fortran_storage_ordering (closed: fixed)">#3581</a>, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3820" title="#3820: Bugs: MultiArray reference manual: please replace std::times by std::multiplies (closed: fixed)">#3820</a>, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3989" title="#3989: Bugs: Syntax error -- missing &#34;template&#34; keyword (closed: fixed)">#3989</a> </p> </description> <category>Ticket</category> </item> </channel> </rss>