To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82699
                 Issue #|82699
                 Summary|Skeletonmaker should follow coding standards
               Component|framework
                 Version|680m232
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|tl





------- Additional comments from [EMAIL PROTECTED] Wed Oct 17 08:32:13 +0000 
2007 -------
a) currently the skeleton maker makes the copy c-tor and assignment operator
private (good!) but the overloads are non-standard.
Instead of 
    XYZ(XYZ&); // not defined
    void operator =(XYZ&); // not defined
it should write
    XYZ( const XYZ& );
    XYZ& operator = ( const XYZ& );

b) also the book states that d-tor's should always either be virtual and public
or non-virtual and private.
Thus it seems the skeleton maker should list the d-tor in the public part of the
class.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to