incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Updated: (STDCXX-343) [LWG #541] std::auto_ptr<void> specialization missing
Date Wed, 29 Aug 2007 21:46:31 GMT

     [ https://issues.apache.org/jira/browse/STDCXX-343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Sebor updated STDCXX-343:
--------------------------------

    Fix Version/s: 4.2.1

Scheduled for 4.2.1.

> [LWG #541] std::auto_ptr<void> specialization missing
> -----------------------------------------------------
>
>                 Key: STDCXX-343
>                 URL: https://issues.apache.org/jira/browse/STDCXX-343
>             Project: C++ Standard Library
>          Issue Type: Improvement
>          Components: 20. General Utilities
>    Affects Versions: 4.1.3
>         Environment: all
>            Reporter: Martin Sebor
>             Fix For: 4.2.1
>
>
> 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).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message