On Fri, 14 Oct 2011 09:02:04 -0400, Kagamin <[email protected]> wrote:

Steven Schveighoffer Wrote:

This won't solve the problem.  I need inout to be on V, not on the
cursor.  Essentially, I need cursor to be tail-inout.

Since const is transitive, constness of cursor eventually propagates to V.

I think you misunderstand the problem. I need constness to be applied to the V, but *NOT* to the cursor. If constness is applied to the cursor, it's not iterable (i.e. popFront does not work).

-Steve

Reply via email to