You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2003/11/27 11:57:48 UTC

DO NOT REPLY [Bug 25048] New: - Missing assignment operator in util/KeyValuePair

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25048>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25048

Missing assignment operator in util/KeyValuePair

           Summary: Missing assignment operator in util/KeyValuePair
           Product: Xerces-C++
           Version: 2.3.0
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Utilities
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: werner.bailer@joanneum.at


applies to versions from 2.3.0 to current CVS snapshot (2003-11-26)

Until version 2.2.0, KeyValuePair had no assignment operator and so a default 
operator was constructed by the compiler which correctly copied the members 
fKey and fValue.
KeyValuePair is now derived from XMemory. XMemeory has a (unimplemented) 
private assignment operator, so that no default operator is created and thus no 
assignment operator is available for KeyValuePair.

The same problem may apply to other classes now derived from XMemory.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org