#28 bcc: exception_test

5.0
closed
5
2006-01-25
2006-01-20
esanfo
No

* stlport/stl/_exception.h: Delete obsolete workaround
for legacy Borland compilers.

* stlport/stl/_string.h, debug/_string.h: Fix Borland
compiler error in const_reference operator[](size_type
_n) const

* stlport/stl/config/_bc.h: Restore unexpected
exception handler(static and dynamic) and
uncaught_exception handler (static only)

* test/unit/string_test.cpp: Fix Borland runtime error
in null_char test.

Discussion

  • esanfo
    esanfo
    2006-01-20

    bcc exception test (diff - revised)

     
    Attachments
  • esanfo
    esanfo
    2006-01-20

    Logged In: YES
    user_id=1340753

    Uploaded revised patch. Unnecessary changes to
    test/unit/string_test.cpp have been omitted.

     
    • assigned_to: nobody --> dums
     
  • Logged In: YES
    user_id=1096600

    Use of c_str in operator[] const implementation has been
    generalized for all compilers. It takes naturally into
    account the _STLP_NO_FORCE_TERMINATION macro switch.

     
    • status: open --> closed