MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0024407Open CASCADE[OCCT] OCCT:Foundation Classespublic2013-11-27 11:542013-11-27 11:54
Reporterszv 
Assigned Toabv 
PrioritynormalSeverityfeature 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 6.6.0 
Target VersionFixed in Version 
Summary0024407: Extend Handle by implicit DownCast capabilities
DescriptionIt could be useful to extend Handle types by additional constructor and assignment operator that would provide implicit DownCast capabilities, to do something like this:

Handle(Geom_Curve) aCurve = ...; // Get a curve from somewhere
Handle(Geom_Circle) aCircle1(aCurve); // Now it is impossible
Handle(Geom_Circle) aCircle2 = aCurve; // Now it is impossible

The new approach could help reduce the amount of code.
TagsNo tags attached.
Test case number
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-11-27 11:54 szv New Issue
2013-11-27 11:54 szv Assigned To => abv


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker