title: const_cast vs static_cast
body: <p>To add <code>const</code> to a non-const object, which is the prefered method? <code>const_cast&lt;T&gt;</code> or <code>static_cast&lt;T&gt;</code>. In a recent question, someone mentioned that they prefer to use <code>static_cast</code>, but I would have thought that <code>const_cast</code> would make the intention of the code more clear. So what is the argument for using <code>static_cast</code> to make a variable const?</p>