Issue Details (XML | Word | Printable)

Key: STDCXX-343
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Martin Sebor
Votes: 0
Watchers: 0
Operations

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

[LWG #541] std::auto_ptr<void> specialization missing

Created: 01/Mar/07 11:32 PM   Updated: 11/Jul/09 12:06 AM
Return to search
Component/s: 20. General Utilities
Affects Version/s: 4.1.3, 4.1.4, 4.2.0, 4.2.1
Fix Version/s: 4.3.0

Time Tracking:
Original Estimate: 3h
Original Estimate - 3h
Remaining Estimate: 3h
Remaining Estimate - 3h
Time Spent: Not Specified
Remaining Estimate - 3h

Environment: all
Issue Links:
Reference
 

Severity: Usability


 Description  « Hide
The resolution of issue 541 adds an explicit specialization for std::auto_ptr<void> with the following definition:

template<> class auto_ptr<void>
{
public:
typedef void element_type;
};

See http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#541

This needs to be implemented (since otherwise the specialization has undefined behavior – see STDCXX-172).



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.