Boost C++ Libraries: Ticket #11471: array is a sequence https://svn.boost.org/trac10/ticket/11471 <p> According to docs of Boost.Test v3, a C-array is not recognized as a sequence, and cannot be used with sequence-based test assertions. I think it is an unjustified limitation. </p> <p> Instead of requiring that type T should have member functions .begin(), .size(), use the approach taken by Boost.Foreach, and only require of ranges, that the following expressions are valid: </p> <blockquote> <p> boost::begin(e), boost::end(e) </p> </blockquote> <p> There is no need to require size(), one can always compute it from <code>std::distance(begin(e), end(e))</code>. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11471 Trac 1.4.3 Raffi Enficiaud Tue, 04 Oct 2016 06:51:47 GMT owner, status, milestone changed https://svn.boost.org/trac10/ticket/11471#comment:1 https://svn.boost.org/trac10/ticket/11471#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Gennadiy Rozental</span> to <span class="trac-author">Raffi Enficiaud</span> </li> <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">Boost 1.60.0</span> → <span class="trac-field-new">Boost 1.63.0</span> </li> </ul> Ticket Raffi Enficiaud Fri, 14 Jul 2017 13:36:02 GMT milestone changed https://svn.boost.org/trac10/ticket/11471#comment:2 https://svn.boost.org/trac10/ticket/11471#comment:2 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.63.0</span> → <span class="trac-field-new">Boost 1.65.0</span> </li> </ul> Ticket Raffi Enficiaud Sun, 16 Jul 2017 08:44:01 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11471#comment:3 https://svn.boost.org/trac10/ticket/11471#comment:3 <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 master, rev <code>3ddb0e0d29e8ebfe4ba20921a3d366f7b5b837b2 </code> </p> Ticket