Boost C++ Libraries: Ticket #3581: MultiArray storage order example incorrect for fortran_storage_ordering https://svn.boost.org/trac10/ticket/3581 <p> In the <a href="http://www.boost.org/doc/libs/1_40_0/libs/multi_array/doc/user.html#sec_storage">boost::fortran_storage_order example</a> there may be a missing set of parens. I think </p> <pre class="wiki">array_type A(boost::extents[3][4][2],boost::fortran_storage_order); </pre><p> should become </p> <pre class="wiki">array_type A(boost::extents[3][4][2],boost::fortran_storage_order()); </pre><p> based on the constructor </p> <pre class="wiki"> explicit multi_array(const ExtentList&amp; sizes, const storage_order_type&amp; store = c_storage_order(), const Allocator&amp; alloc = Allocator()); </pre><p> and some first hand compilation error experience. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3581 Trac 1.4.3 Jeremiah Willcock Tue, 08 Jun 2010 22:53:34 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3581#comment:1 https://svn.boost.org/trac10/ticket/3581#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/62605" title="Fixed typo in doc example; fixes #3581">[62605]</a>) Fixed typo in doc example; fixes <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> </p> Ticket Jeremiah Willcock Tue, 05 Oct 2010 18:25:41 GMT <link>https://svn.boost.org/trac10/ticket/3581#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3581#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>