id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 2908,unordered_map has no destructor!,anonymous,Daniel James,"I noticed that the unordered_map has no destructor as one would assume. There should be a destructor that calls clear() so that the content of the map is deleted. (cf. RAII - http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization) I ran into a serious memory leak because of that, when using an unordered_map locally and assuming that it clears its content when being destroyed. ",Bugs,closed,Boost 1.39.0,unordered,Boost 1.37.0,Problem,fixed,"unordered_map,destructor",