------- 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