Issue Details (XML | Word | Printable)

Key: STDCXX-680
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Travis Vitek
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

use_facet and has_facet are unreliable unless dynamic_cast is available

Created: 17/Dec/07 06:05 PM   Updated: 11/Jul/09 12:00 AM
Return to search
Component/s: 22. Localization
Affects Version/s: 4.1.2, 4.1.3, 4.1.4, 4.2.0
Fix Version/s: 4.2.2

Time Tracking:
Original Estimate: 2h
Original Estimate - 2h
Remaining Estimate: 1h
Time Spent - 1h Remaining Estimate - 1h
Time Spent: 1h
Time Spent - 1h Remaining Estimate - 1h

Issue Links:
Reference
 

Severity: Incorrect Behavior


 Description  « Hide
The function that is called by has_facet<>() and use_facet<>() uses _RWSTD_DYNAMIC_CAST in an attempt to check that the returned locale facet is of the requested type. Unfortunately, if RTTI is not supported or enabled, that cast becomes unreliable.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.