STL exception safety, operator==

Discussion in 'C++' started by Luke Meyers, Jan 5, 2006.

  1. Luke Meyers

    Luke Meyers Guest

    I'm attempting a strict analysis of the exception safety of a set of
    classes which use various STL containers. Appendix E of [3rd] has been
    very helpful, but I have been unable to find any mention of the
    exception-safety of operator==. I would assume that operator==
    provides a no-throw guarantee as long as the contained type's
    operator== does the same, but is this actually documented anywhere? Or
    am I wrong?

    Luke
    Luke Meyers, Jan 5, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Harrison

    Exception safety in the STL

    John Harrison, Jul 6, 2003, in forum: C++
    Replies:
    5
    Views:
    4,059
    John Harrison
    Jul 8, 2003
  2. Philip V Pham

    STL (std) thread safety issues

    Philip V Pham, Jun 12, 2004, in forum: C++
    Replies:
    3
    Views:
    11,464
    Dietmar Kuehl
    Jun 14, 2004
  3. JDT

    STL safety issue

    JDT, Mar 14, 2007, in forum: C++
    Replies:
    3
    Views:
    303
    Thomas Tutone
    Mar 14, 2007
  4. grbgooglefan
    Replies:
    7
    Views:
    319
    James Kanze
    Dec 5, 2007
  5. Replies:
    6
    Views:
    1,021
    James Kanze
    Apr 5, 2008
Loading...

Share This Page