title: const to Non-const Conversion in C++
body: <p>I'm really annoyed by <code>const</code> keyword these days, as I'm not quite familiar with it. I had a vector that stores all const pointers like <code>vector&lt;const BoxT&lt;T&gt; *&gt; *Q_exclude</code>, and in the constructor of another class, I need an element in this queue to be passed in as a parameter and assign it to a non-const member. My question is: </p>
  
  <p>How do I assign a const variable to a non-const variable? I know this doesn't make sense because after all, a const is a const, and should not be changed by any mean. But that annoying member variable REALLY has to be changed during the process! I might also change the data type in the vector to be non-const, but that would be too much work. Or does anyone know how to avoid such situation? </p>