Boost C++ Libraries: Ticket #8012: Inconsistency in linearize() https://svn.boost.org/trac10/ticket/8012 <p> Assume two equivalent non-empty circular buffers A and B, with A reporting as linearized and B as not linearized. After calling <em>clear()</em> on them, they will both still report the same linearized state as before; the linearized state applies to all buffers, whether empty or not. However, calling <em>linearize()</em> on the non-linearized empty buffer B will <strong>not</strong> linearize it, which is inconsistent. </p> <p> One option to fix this would be to automatically linearize a buffer when it becomes empty, but that would force some overhead even in cases where it is unnecessary. A better solution would be to make <em>linearize()</em> work normally even on empty buffers. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8012 Trac 1.4.3 Jan Gaspar Thu, 24 Oct 2013 21:35:39 GMT owner changed https://svn.boost.org/trac10/ticket/8012#comment:1 https://svn.boost.org/trac10/ticket/8012#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Jan Gaspar</span> to <span class="trac-author">No-Maintainer</span> </li> </ul> Ticket