View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025620 | Open CASCADE | OCCT:Coding | public | 2014-12-16 17:55 | 2019-10-25 14:49 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | unable to reproduce | ||
Product Version | 6.7.0 | ||||
Summary | 0025620: CAST analysis: Avoid public or missing copy assignment operator in abstract classes | ||||
Description | The copy assignment operator lets you create a new object from an existing object through initialization. A copy assignment operator of a class A is a non-static, non-template member function that has one of the following forms: * A::operator=(A) * A::operator=(A&) * A::operator=(const A&) * A::operator=(volatile A&) * A::operator=(const volatile A&) If you do not declare a copy assignment operator for a class A, the compiler will implicitly declare one for you which will be inline public. Assignment operators using pointers are also taken into account: * A::operator=(A*) * A::operator=(const A*) * A::operator=(volatile A*) * A::operator=(const volatile A*) By ensuring that the copy assignment operator is protected, it can only be, and should only be, called by the assignment operator of the derived class. | ||||
Additional information and documentation updates | It is necessary to move assignment operator in protected section in Standard_Transient class. More details: CAST report, issue 7926 | ||||
Tags | No tags attached. | ||||
Test case number | |||||
related to | 0024023 | closed | Revamp the OCCT Handle |
|
Standard_Transient is not an abstract class (and it was not abstract in traceable history), thus the issue is irrelevant to that class. There is no indication for possible occurrence of such issue in other classes, thus closing the issue. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-12-16 17:55 |
|
New Issue | |
2014-12-16 17:55 |
|
Assigned To | => azn |
2015-04-21 06:08 |
|
Target Version | 6.9.0 => 7.1.0 |
2016-11-01 06:41 |
|
Target Version | 7.1.0 => 7.2.0 |
2017-07-20 12:26 | kgv | Assigned To | azn => |
2017-07-20 12:26 | kgv | Target Version | 7.2.0 => 7.4.0 |
2019-07-10 19:27 |
|
Target Version | 7.4.0 => 7.5.0 |
2019-10-25 14:33 |
|
Relationship added | related to 0024023 |
2019-10-25 14:49 |
|
Note Added: 0088595 | |
2019-10-25 14:49 |
|
Assigned To | => abv |
2019-10-25 14:49 |
|
Status | new => closed |
2019-10-25 14:49 |
|
Resolution | open => unable to reproduce |
2019-10-25 14:49 |
|
Target Version | 7.5.0 => |