<div class="gmail_quote">On Mon, Jun 6, 2011 at 23:06, Boyce Griffith <span dir="ltr"><<a href="mailto:griffith@cims.nyu.edu">griffith@cims.nyu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I agree --- right now, I have a getVector() method but no restoreVector() method. Probably the right thing to do is to have a restoreVector() function that updates the state.</blockquote></div><br><div>Perfect, this is what I was looking for. You can also just increment state in the getVector() method.</div>
<div><br></div><div>Is there a const and non-const version of getVector()?</div>