stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Farid Zaripov <Far...@kyiv.vdiweb.com>
Subject [PATCH] Fix of STDCXX-268, STDCXX-331
Date Wed, 07 Feb 2007 15:53:38 GMT
   Attached is a proposed patch for fix the bugs STDCXX-268 and STDCXX-331.

   Actually this patch fixes the bug STDCXX-331, but since the std::list
constructor uses insert() method so the bug STDCXX-268 is fixed 
automatically.

   ChangeLog:
   STDCXX-268
   STDCXX-331
   * list (_RWSTD_LIST_SAFE_INSERT_RANGE): New macro for exception
   safe inserting the range into the list.
   (_C_insert): Used _RWSTD_LIST_SAFE_INSERT_RANGE macro.
   (_C_insert): Added try/catch with removing the inserted elements
   if exception was thrown.

Farid.

Mime
View raw message