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] | |
Posting a patch which changes the template parameters of forward_list types to be in better conformance
with N2913 (SCARY). Added __pointer_traits to retain alternative pointer support.
Tested: Darwin 11 x86_64
libstdc++-v3/ChangeLog:
* include/ext/pointer_traits.h: Add
* include/ext/pointer.h: added struct rebind
* include/bits/forward_list.h: change template args of iterator
and node to use pointer type instead of allocator to support N2913.
* include/bits/forward_list.tcc: same
* include/Makefile.am: added ext/pointer_traits.h
* testsuite/ext/ext_pointer/1_neg.cc: adjust dg-error line numbers
* testsuite/23_containers/forward_list/requirements/dr438/assign_neg.cc:
same
* testsuite/23_containers/forward_list/requirements/dr438/insert_neg.cc:
same
* testsuite/23_containers/forward_list/requirements/dr438/constructor_1_neg.cc:
same
* testsuite/23_containers/forward_list/requirements/dr438/constructor_2_neg.cc:
same
Attachment:
patch
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |