It has to do with exception safety. Here http://www.gotw.ca/gotw/008.htm and here http://ptgmedia.pearsoncmg.com/images/020163371x/supplements/Exception_Handling_Article.html are explanations. thanks, -- Mikhail