View Issue Details

IDProjectCategoryView StatusLast Update
0007698Open CASCADEOCCT:Foundation Classespublic2014-06-05 08:58
ReporteragvAssigned Toagv 
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSAll 
Fixed in Version5.2.3 
Summary0007698: Wrong behaviour of NCollection_Vector::operator=
DescriptionWhen an object of type instantiated from NCollection_Vector is copied, there is
problem in the case when this object is empty. The assignment operator creates a
copy object with internal field myNBlocks == 1, this is incorrect because it
should be the same as in the original Vector (myNBlocks == 0).

The patch is attached. It should be integrated after OCC7639.
TagsNo tags attached.
Test case number

Attached Files

  • OCC7698.tar.gz (2,036 bytes)

Relationships

related to 0024971 closedapn Incomplete interface of NCollection classes 

Activities

2005-01-12 07:39

 

OCC7698.tar.gz (2,036 bytes)

Issue History

Date Modified Username Field Change
2005-01-12 16:25 bugmaster Assigned To bugmaster => agv
2005-01-12 16:25 bugmaster Status new => assigned
2005-01-12 17:27 apv CC => apv, aki
2005-01-19 10:06 bugmaster Status assigned => tested
2005-01-24 12:47 bugmaster Status tested => verified
2005-05-06 15:21 bugmaster Status verified => closed
2005-05-06 15:21 bugmaster Resolution @0@ => fixed
2011-08-02 11:23 bugmaster Category OCCT:FDC => OCCT:Foundation Classes
2014-06-05 08:58 abv Relationship added related to 0024971