<div class="gmail_quote">On Fri, Aug 21, 2009 at 2:44 PM, Steven Watanabe <span dir="ltr">&lt;<a href="mailto:watanabesj@gmail.com">watanabesj@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
AMDG<br>
<br>
Robert Jones wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
On Fri, Aug 21, 2009 at 2:15 PM, Steven Watanabe &lt;<a href="mailto:watanabesj@gmail.com" target="_blank">watanabesj@gmail.com</a>&gt;wrote:<br>
  <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Robert Jones wrote:<div class="im"><br>
    <br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am shocked to discover that boost::begin() etc, does not seem to<br>
work for boost::scoped_array.<br>
<br>
Is there a reason for this?<br>
<br>
<br>
      <br>
</blockquote>
How would boost::end be implemented?<br>
boost::scoped_array doesn&#39;t know the size of the array.<br>
    <br>
</div></blockquote><div class="im">
<br>
Quite. So there would seem to be quite a bit of benefit to having<br>
scoped_array hold its<br>
own size. I guess the objection might be that it makes scoped_array bigger<br>
than a c-array,<br>
but the difference is pretty small.<br>
  <br>
</div></blockquote>
<br>
But if you don&#39;t care about small differences, why use<br>
scoped_array instead of std::vector?</blockquote></div><br>Good point - and a killer argument, which I should have thought of, but didn&#39;t because<br>I didn&#39;t write the code from scratch.<br><br>Thanks muchly!<br>
<br>- Rob.<br>

