MantisBT
Mantis Bug Tracker Workflow

occt: master 4796758e Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
abv abv master 2016-02-06 12:26:26 master aa00364d
Affected Issues 0027111: Add generalized copy constructor in handle class for old compilers
Changeset 0027111: Add generalized copy constructor in handle class for old compilers

Copy constructor and assignment operator from handle of derived type is added in handle class.
They are enabled only if macro OCC_HANDLE_NOCASTS is defined, and operators of cast of handle to reference to handle to base type are disabled in that case.

Useless type casts to handle to base type are removed in GC and GCE2d classes.
Code returning reference to handle from function is corrected to return it either by value or as reference to handle of actual type.
mod - dox/dev_guides/upgrade/upgrade.md Diff ] File ]
mod - src/AIS/AIS_LocalContext_1.cxx Diff ] File ]
mod - src/BinDrivers/BinDrivers.cxx Diff ] File ]
mod - src/BinLDrivers/BinLDrivers.cxx Diff ] File ]
mod - src/BinTObjDrivers/BinTObjDrivers.cxx Diff ] File ]
mod - src/BinXCAFDrivers/BinXCAFDrivers.cxx Diff ] File ]
mod - src/FWOSDriver/FWOSDriver.cxx Diff ] File ]
mod - src/GC/GC_MakeArcOfCircle.hxx Diff ] File ]
mod - src/GC/GC_MakeArcOfEllipse.hxx Diff ] File ]
mod - src/GC/GC_MakeArcOfHyperbola.hxx Diff ] File ]
mod - src/GC/GC_MakeArcOfParabola.hxx Diff ] File ]
mod - src/GC/GC_MakeCircle.hxx Diff ] File ]
mod - src/GC/GC_MakeConicalSurface.hxx Diff ] File ]
mod - src/GC/GC_MakeCylindricalSurface.hxx Diff ] File ]
mod - src/GC/GC_MakeEllipse.hxx Diff ] File ]
mod - src/GC/GC_MakeHyperbola.hxx Diff ] File ]
mod - src/GC/GC_MakeLine.hxx Diff ] File ]
mod - src/GC/GC_MakePlane.hxx Diff ] File ]
mod - src/GC/GC_MakeSegment.hxx Diff ] File ]
mod - src/GC/GC_MakeTrimmedCone.hxx Diff ] File ]
mod - src/GC/GC_MakeTrimmedCylinder.hxx Diff ] File ]
mod - src/GCE2d/GCE2d_MakeArcOfCircle.hxx Diff ] File ]
mod - src/GCE2d/GCE2d_MakeArcOfEllipse.hxx Diff ] File ]
mod - src/GCE2d/GCE2d_MakeArcOfHyperbola.hxx Diff ] File ]
mod - src/GCE2d/GCE2d_MakeArcOfParabola.hxx Diff ] File ]
mod - src/GCE2d/GCE2d_MakeCircle.hxx Diff ] File ]
mod - src/GCE2d/GCE2d_MakeEllipse.hxx Diff ] File ]
mod - src/GCE2d/GCE2d_MakeHyperbola.hxx Diff ] File ]
mod - src/GCE2d/GCE2d_MakeLine.hxx Diff ] File ]
mod - src/GCE2d/GCE2d_MakeParabola.hxx Diff ] File ]
mod - src/GCE2d/GCE2d_MakeSegment.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_Context.cxx Diff ] File ]
mod - src/PrsMgr/PrsMgr_Presentation.cxx Diff ] File ]
mod - src/PrsMgr/PrsMgr_Presentation.hxx Diff ] File ]
mod - src/Standard/Standard_Handle.hxx Diff ] File ]
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_LoopSet.cxx Diff ] File ]
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_LoopSet.hxx Diff ] File ]
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_PaveSet.cxx Diff ] File ]
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_PaveSet.hxx Diff ] File ]
mod - src/XmlDrivers/XmlDrivers.cxx Diff ] File ]
mod - src/XmlLDrivers/XmlLDrivers.cxx Diff ] File ]
mod - src/XmlTObjDrivers/XmlTObjDrivers.cxx Diff ] File ]
mod - src/XmlXCAFDrivers/XmlXCAFDrivers.cxx Diff ] File ]
mod - src/XSControl/XSControl_Controller.cxx Diff ] File ]


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker