title: Does STL 'map' declared locally inside a function need to be cleared when the function exits?
body: <p>If STL <code>map</code> is declared locally inside a function, is it necessary to clear the map before the function exits? If not cleared, does it cause memory leak? </p>