Cannot assign to this
<p>I have a class like so:</p>

<pre><code>class Node {
    // data
    Node* next;
    void operator++(int);
};
</code></pre>

<p>And when I define the post-increment operator like so:</p>

<pre><code>void Node::operator++(int) {
    this = this-&gt;next;
}
</code></pre>

<p>I get the error <code>Expression is not assignable</code> on <code>this = this-&gt;next;</code>.</p>

<p>What's up with this? How do I get <code>this</code> to point to <code>next</code>?</p>
