Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-32

Missing copy constructors and assignment operators

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.7
    • 0.10.0
    • None
    • None

    Description

      Exception and derived classes contain a String member but are missing copy constructors and assignment operators (see Effective C++ item 11 for an explanation why this is a bad thing). This may affect other classes too. gcc has a -Weffc++ flag that can identify this and other violations of Effective C++ guidelines (however it is too strict and gives too many false errors for normal use).

      Attachments

        Activity

          People

            carnold@apache.org Curt Arnold
            carnold@apache.org Curt Arnold
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: