Title
No specification for which header contains auto_ptr
Status
c++11
Section
[depr.auto.ptr]
Submitter
BSI

Created on 2010-08-25.00:00:00 last changed 154 months ago

Messages

Date: 2010-11-23.13:22:14

Proposed resolution:

Add the following lines to the synopsis of header <memory> in [memory]/1:

// [depr.auto.ptr], Class auto_ptr (deprecated):
template <class X> class auto_ptr;
Date: 2010-11-23.13:22:14

[ Adopted at 2010-11 Batavia ]

Date: 2010-10-21.19:47:27

[ Post-Rapperswil ]

Moved to Tentatively Ready after 5 positive votes on c++std-lib.

Date: 2010-11-02.20:29:53

Addresses GB-142

auto_ptr does not appear in the <memory> synopsis and [depr.auto.ptr] doesn't say which header declares it. Conversely, the deprecated binders bind1st etc. are in the <functional> synopsis, this is inconsistent

Either auto_ptr should be declared in the <memory> synopsis, or the deprecated binders should be removed from the <functional> synopsis and appendix D should say which header declares the binders and auto_ptr.

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-11-23 13:22:14adminsetmessages: + msg5408
2010-11-14 13:10:57adminsetstatus: voting -> wp
2010-11-08 14:14:39adminsetstatus: ready -> voting
2010-10-21 19:47:27adminsetmessages: + msg4875
2010-10-21 19:47:27adminsetmessages: + msg4874
2010-08-25 00:00:00admincreate