minor refactoring; added more explaining comments; reset() function exception safety fixed
minor refactoring;
added more explaining comments;
reset() function exception safety fixed

TMorozovsky/Generic_Tools_for_Frequent_Operations