title: Does a detached std::thread need to be deleted after it terminates?
body: <p>I create a <code>new</code> std::thread object, and then <code>detach()</code> it. The thread runs for an arbitrary amount of time, and then terminates itself. Since I created the object with <code>new</code>, do I need to <code>delete</code> it at some point to free up its resources? Or does the thread effectively <code>delete</code> itself upon termination?</p>
  
  <p>If it does effectively <code>delete</code> itself, will something bad happen if I explicitly <code>delete</code> it after it has terminated?</p>