This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Em 19-03-2010 07:50, Paolo Carlini escreveu: > What about auto_ptr? Also, in the DR you provided a testcase, thus, why > not adding it to the testsuite? In general, patches come with a > ChangeLog entry. Well, let's pretend I didn't send you that lazy patch. A properly written, with test case, is attached. Let me know if there's still something missing. Changelog: * include/bits/shared_ptr.h (shared_ptr(unique_ptr &&), shared_ptr(auto_ptr &&)): Remove explicit specifier (as per DR 925). * include/bits/shared_ptr_base.h: likewise PS: the abi_check test didn't pass (it didn't even before the patch), is this bad?
Attachment:
implicit_unique_to_shared_ptr.diff
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |