This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/21772] exception safety testing allocator



------- Comment #5 from dave at boost-consulting dot com  2007-05-21 17:16 -------
Just "adding a throwing allocator" (especially one that throws
randomly like this one) will not test the library guarantees anywhere
nearly as effectively as the STLPort tests do.  The technique is
outlined in http://www.boost.org/more/generic_exception_safety.html

Use this technique.  In fact, if you can, use my code.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21772


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]