Boost C++ Libraries: Ticket #6781: Docs not clear about support of empty containers https://svn.boost.org/trac10/ticket/6781 <p> The reference docs make no statement about the validity of empty tuples or arrays. Only one place makes an implication: “Sequences are data structures that merge the properties of both lists and tuples with the exception that a seq cannot be empty.” - the implication being that lists and tuples (and thus by extension arrays) _can_ be empty. </p> <p> The docs should mention that empty tuples/arrays are not supported and also for what reason they are not supported. </p> <p> Due to a change of behavior along with release 1.49 as stated in <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6760" title="#6760: Bugs: PUSH_BACK/_FRONT on empty array broken (closed: invalid)">#6760</a> I'm convinced a statement is overdue. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6781 Trac 1.4.3 Edward Diener Sun, 17 May 2015 04:55:09 GMT <link>https://svn.boost.org/trac10/ticket/6781#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6781#comment:1</guid> <description> <p> The docs have been updated in the 'develop' branch of the preprocessor library, in the documentation for each data type, to explain that arrays and lists can be empty, and thereofore have 0 size, but that seqs and tuples cannot be empty and therefore have a minimim size of 1. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Edward Diener</dc:creator> <pubDate>Fri, 21 Aug 2015 13:45:32 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6781#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6781#comment:2</guid> <description> <p> This has now been fixed in the latest Boost 1.59 release. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Edward Diener</dc:creator> <pubDate>Fri, 21 Aug 2015 13:45:51 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6781#comment:3 https://svn.boost.org/trac10/ticket/6781#comment:3 <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> Ticket